-
Notifications
You must be signed in to change notification settings - Fork 0
Log
Dan M edited this page Mar 31, 2022
·
6 revisions
Log contains an extended console logger with colours and varying log levels.
The various levels that the logger can log at. Logs will be coloured and include an icon based on the level.
| Value | Colour | Icon |
|---|---|---|
info |
Blue | Icons.lightbulb |
warning |
Yellow | Icons.warning |
error |
Red | Icons.error |
debug |
Green | Icons.bug_report |
Brings up a page in app that shows the console output.
Creates a new Log with name. level sets the initial log level of the Log, and setting colors to false disables colours. level defaults to Level.info and colors defaults to true.
Logs message to the console, at the currently set Level. Optional errors and stacktraces can be included with error and stackTrace
Same as log, but you can set the Level through level.
Models - Currently Empty