Humio class

Implementers
Available Extensions

Constructors

Humio(Dispatcher _dispatcher, {bool setRawMessage = false})
Creates a new Humio logging instance
Humio.defaultImplementation(String ingestToken, {dynamic setRawMessage = false})
Creates a new Humio logging instance using the HumioDispatcher.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setRawMessage bool
Should the message property of all events be the @rawmessage in Humio?
getter/setter pair

Methods

log(String level, String message, {Object? error, StackTrace? stackTrace, Map<String, dynamic>? fields, Map<String, String>? tags}) Future<bool>
Log a message to Humio.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited