InfoLog class Log Types

Informational log message with white formatting.

Inheritance
Available extensions
Annotations
  • @JsonSerializable.new()

Constructors

InfoLog(String message, {DateTime? createdAt, Type? typeClass})
InfoLog.fromJson(Map<String, dynamic> json)
Creates an instance from JSON.
factory

Properties

alwaysPrint → bool
When true, this log is processed even if ConfigLog.enableLog is false.
no setterinherited
className ↔ String
Class/source that emitted the log.
getter/setter pairinherited
enumLoggerType → EnumLoggerType

Available on LoggerObjectBase, provided by the LoggerEnum extension

Returns enum type for current log instance.
no setter
hashCode → int
The hash code for this object.
no setterinherited
logCreationDate ↔ DateTime
Creation time of this log.
getter/setter pairinherited
message → String
Main log message.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → String
Tags attached to the log.
finalinherited

Methods

getColor() → LoggerAnsiColor
ANSI color/style for this log type.
override
getMessage({bool withColor = true}) → String
Returns formatted message with optional ANSI color.
inherited
getStartLog({bool withColor = true}) → String
Returns formatted log header with optional ANSI color.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendLog() → void
Sends the log using the configured service from fetchLogPrinterService.
inherited
toJson() → Map<String, dynamic>
Serializes the log object into JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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