Log<St> constructor
Log<St> ({
- Logger? logger,
- Level level = Level.INFO,
- MessageFormatter<
St> formatter = singleLineFormatter,
Logs actions to the given Logger, and does not print anything to the console.
Implementation
Log({
Logger? logger,
this.level = Level.INFO,
this.formatter = singleLineFormatter,
}) : logger = logger ?? Logger("Log");