Skip to content

Commit 2050e3b

Browse files
committed
Revert "Allow switching out LogFilter globally"
This reverts commit ede725d.
1 parent ede725d commit 2050e3b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/src/logger.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ class Logger {
5050
/// All logs with levels below this level will be omitted.
5151
static Level level = Level.verbose;
5252

53-
/// The current default implementation of log filter.
54-
static LogFilter defaultLogFilter = DevelopmentFilter();
55-
5653
static final Set<LogCallback> _logCallbacks = {};
5754

5855
static final Set<OutputCallback> _outputCallbacks = {};
@@ -72,7 +69,7 @@ class Logger {
7269
LogPrinter? printer,
7370
LogOutput? output,
7471
Level? level,
75-
}) : _filter = filter ?? defaultLogFilter,
72+
}) : _filter = filter ?? DevelopmentFilter(),
7673
_printer = printer ?? PrettyPrinter(),
7774
_output = output ?? ConsoleOutput() {
7875
_filter.init();

0 commit comments

Comments
 (0)