VigilLogger class

Constructors

VigilLogger({String infoPrefix = '[Vigil Reporter] [INFO]', String warnPrefix = '[Vigil Reporter] [WARN]', String errorPrefix = '[Vigil Reporter] [ERROR]'})
Vigil Logger

Properties

errorPrefix String
Prefix for error logs
final
hashCode int
The hash code for this object.
no setterinherited
infoPrefix String
Prefix for info logs
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
warnPrefix String
Prefix for warning logs
final

Methods

error(String msg, [Object? obj]) → void
Write error log into stderr
info(String msg, [Object? obj]) → void
Write info log into stdout
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
warn(String msg, [Object? obj]) → void
Write warn log into stdout

Operators

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