log_4_dart_2 library
Support for doing something awesome.
More dartdocs go here.
Classes
- Appender
- The basic appender.
- ConsoleAppender
- A appender for writing logs to the console output
- EmailAppender
- A appender for sending log entries via email
- FileAppender
- A appender for writing logs to a logfile
- HttpAppender
- A appender for sending log entries via http
- Level
-
Levels to control logging output. Logging can be enabled to include all
levels above certain Level. Levels are ordered using an integer
value Level.value. The predefined Level constants below are sorted as
follows (in descending order):
Level.SHOUT
,Level.SEVERE
, Level.WARNING, Level.INFO,Level.CONFIG
,Level.FINE
,Level.FINER
,Level.FINEST
, and Level.ALL. - Log4Dart
- Meant to be mixed into client classes that need login.
- Logger
- The logger.
- LogRecord
- MySqlAppender
- A appender to store log entries in a mysql database
Enums
- AppenderType
- The appender type
- ConsoleLoggerMode
- Set devtools this when running on the physical app or on webbrowser. Will log to dart:devtools. This way, the result will not be a simple string, but the passed in objects (error etc.)
- RotationCycle
- The rotation cycle used for file logging