Logger class

Logger implementation

Implemented types

Constructors

Logger({String? prefix})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

d(dynamic message, {String? prefix, int? maxChars, bool isJson = false, int? fileLinkLevel}) → dynamic
method d
override
e(dynamic message, {dynamic error, String? prefix, StackTrace? stackTrace, int? maxChars, bool isJson = false, int? fileLinkLevel}) → dynamic
method e
override
i(dynamic message, {String? prefix, dynamic error, StackTrace? stackTrace, int? maxChars, bool isJson = false, int? fileLinkLevel}) → dynamic
method i
override
intercept(Object? message, LogType logType) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prod(dynamic message, {bool isJson = false}) → dynamic
This will be logged in production environment (Use carefully)
override
toString() String
A string representation of this object.
inherited
trace(dynamic message, {String? prefix, dynamic error, StackTrace? stackTrace, int? maxChars, bool isJson = false, int? fileLinkLevel}) → dynamic
method trace
override
w(dynamic message, {String? prefix, dynamic error, StackTrace? stackTrace, int? maxChars, bool isJson = false, int? fileLinkLevel}) → dynamic
method w
override
withTag(String prefix) ILogger
withTag
override

Operators

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

Static Properties

interceptors List<LogInterceptor>
final
prefix String
getter/setter pair