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
logsfinal - hashCode → int
-
The hash code for this object.
no setterinherited
- infoPrefix → String
-
Prefix for
info
logsfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- warnPrefix → String
-
Prefix for
warning
logsfinal
Methods
-
error(
String msg, [Object? obj]) → void -
Write
error
log intostderr
-
info(
String msg, [Object? obj]) → void -
Write
info
log intostdout
-
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 intostdout
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited