CodeMeltedLogger class
Sets up the logging facility along with hooking into the Flutter Engine for any unhandled errors. Events logged are sent to the browser console with the onLogEvent handling more advanced logging if set.
Constructors
- CodeMeltedLogger()
-
Gets the single instance of the API.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- level ↔ CLogLevel
-
Holds the currently set logging level for the module
getter/setter pair
- onLogEvent ↔ COnLogEventHandler?
-
Callback for handling log events after they are handled by the module
assuming it meets the current module logging level.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
debug(
{dynamic data, StackTrace? stackTrace}) → Future< void> - Will log debug level messages via the module.
-
error(
{dynamic data, StackTrace? stackTrace}) → Future< void> - Will log error level messages via the module.
-
info(
{dynamic data, StackTrace? stackTrace}) → Future< void> - Will log info level messages via the module.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
warning(
{dynamic data, StackTrace? stackTrace}) → Future< void> - Will log warning level messages via the module.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited