HLog class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Properties
-
isEnabled
→ bool
-
Whether a logger implementation exists
(for callers to check early, avoiding unnecessary parameter construction)
no setter
Static Methods
-
d(String tag, dynamic message)
→ void
-
Logs a debug message.
message can be a String or a lazy String Function() evaluated only if logging is enabled.
-
e(String tag, dynamic message, [Object? error, StackTrace? stackTrace])
→ void
-
Logs an error message.
message can be a String or a lazy String Function() evaluated only if logging is enabled.
-
i(String tag, dynamic message)
→ void
-
Logs an info message.
message can be a String or a lazy String Function() evaluated only if logging is enabled.
-
setLogger(ILogger? logger)
→ void
-
Sets the logger implementation, called during SDK initialization
-
v(String tag, dynamic message)
→ void
-
Logs a verbose message.
message can be a String or a lazy String Function() evaluated only if logging is enabled.
-
w(String tag, dynamic message)
→ void
-
Logs a warning message.
message can be a String or a lazy String Function() evaluated only if logging is enabled.