GelfHttpAppender class

Inheritance

Constructors

GelfHttpAppender({required String endpoint, required String host, SyslogLevel toLogLevel(Level level) = _defaultToSyslogLevel, LogRecordFormatter? formatter, int? bufferSize})

Properties

bufferSize int
Maximum number of log entries to buffer before triggering sending of log entries. (default: 500)
finalinherited
endpoint String
final
formatter LogRecordFormatter
finalinherited
hashCode int
The hash code for this object.
no setterinherited
host String
the name of the host, source or application that sent this message; MUST be set by the client library.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toLogLevel → SyslogLevel Function(Level level)
convert log levels of logging package to syslog levels.
final
userProperties Map<String, String>
no getterinherited

Methods

attachToLogger(Logger logger) → void
inherited
call(LogRecord record) → void
inherited
dispose() Future<void>
inherited
flush() Future<void>
inherited
handle(LogRecord record) → void
inherited
log(Level logLevel, DateTime time, String line, Map<String, String> lineLabels) Future<void>
inherited
logListener() → LogRecordListener
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendLogEvents(List<LogEntry> logEntries, Map<String, String> userProperties) Stream<void>
inherited
sendLogEventsWithDio(List<LogEntry> entries, Map<String, String> userProperties, CancelToken cancelToken) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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