HttpAppender class

A appender for sending log entries via http

Inheritance

Constructors

HttpAppender()

Properties

brackets bool
getter/setter pairinherited
clientDepthOffset int?
getter/setter pairinherited
created DateTime
The date the appender was created.
getter/setter pairinherited
dateFormat String?
The dateformat used for the appender.
getter/setter pairinherited
format String?
The logformat for the appender.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
The headers to send with the request
getter/setter pair
level Level?
The loglevel for the appender.
getter/setter pairinherited
lineInfo String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AppenderType?
The type of the appender.
getter/setter pairinherited
url String?
The destination for the http post request
getter/setter pair

Methods

append(LogRecord logRecord) → void
Appending the given logRecord.
override
getInstance() Appender
Retuns a new instance of the appender.
override
getType() String
Returns the type of the appender.
override
init(Map<String, dynamic> config, bool test, DateTime? date) Future<void>?
Setup the appender. This needs to be called for every appender to configure the appender with the necessary data.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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