Skip to content

Commit

Permalink
Log | LogLevel | fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
a-givertzman committed Dec 11, 2024
1 parent d60ba95 commit 95e4f9b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/src/core/log/log.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ class Log {
void warning(Object? message, [Object? error, StackTrace? stackTrace]) =>
Logger(_name).log(LogLevel.warning, message, error, stackTrace);
///
/// Log message at level [LogLevel.warning].
///
/// See [log] for information on how non-String [message] arguments are
/// handled.
void warn(Object? message, [Object? error, StackTrace? stackTrace]) =>
Logger(_name).log(LogLevel.warning, message, error, stackTrace);
///
/// Log message at level [LogLevel.error].
///
/// See [log] for information on how non-String [message] arguments are handled.
Expand Down

0 comments on commit 95e4f9b

Please sign in to comment.