Skip to content

Commit

Permalink
fix: fixed for the issue (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
myConsciousness authored Apr 11, 2022
1 parent a49d185 commit 6e798a7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions lib/src/log/logger_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,24 @@

// Project imports:
import 'package:batch/src/log/logger.dart';
import 'package:batch/src/log/logger_instance.dart';

/// The logger
final Logger log = LoggerInstance.instance;
final Logger log = Logger.instance;

/// Logging function for trace level.
final trace = LoggerInstance.instance.trace;
final trace = Logger.instance.trace;

/// Logging function for debug level.
final debug = LoggerInstance.instance.debug;
final debug = Logger.instance.debug;

/// Logging function for info level.
final info = LoggerInstance.instance.info;
final info = Logger.instance.info;

/// Logging function for warning level.
final warn = LoggerInstance.instance.warn;
final warn = Logger.instance.warn;

/// Logging function for error level.
final error = LoggerInstance.instance.error;
final error = Logger.instance.error;

/// Logging function for fatal level.
final fatal = LoggerInstance.instance.fatal;
final fatal = Logger.instance.fatal;

0 comments on commit 6e798a7

Please sign in to comment.