Permalink
Browse files

reorg: Changed default loglevel from Warning to Info

  • Loading branch information...
MikeMitterer committed Jun 14, 2018
1 parent 8c56db4 commit 6ee9307134ec00acdf22c409709bbad0d3a419d2
Showing with 6 additions and 224 deletions.
  1. +0 −218 ConsoleLogHandler.iml
  2. +1 −1 README.md
  3. +1 −1 lib/console_log_handler.dart
  4. +1 −1 lib/print_log_handler.dart
  5. +3 −3 pubspec.yaml

This file was deleted.

Oops, something went wrong.
@@ -17,7 +17,7 @@ import "package:console_log_handler/console_log_handler.dart";
import "package:console_log_handler/print_log_handler.dart";
void main() {
configLogging();
configLogging(show: Level.INFO);
final Logger _logger = new Logger("test");
try {
@@ -32,7 +32,7 @@ void logToConsole(final LogRecord logRecord,{ TransformLogRecord transformer })
/// ...
/// }
///
void configLogging({ final Level show: Level.WARNING }) {
void configLogging({ final Level show: Level.INFO }) {
hierarchicalLoggingEnabled = true;
Logger.root.level = show;
Logger.root.onRecord.listen(logToConsole);
@@ -33,7 +33,7 @@ void logToConsole(final LogRecord logRecord,{ TransformLogRecord transformer })
/// ...
/// }
///
void configLogging({ final Level show: Level.WARNING }) {
void configLogging({ final Level show: Level.INFO }) {
hierarchicalLoggingEnabled = true;
Logger.root.level = show;
Logger.root.onRecord.listen(logToConsole);
@@ -21,6 +21,6 @@ dev_dependencies:
test: any
grinder: any

build_runner: ^0.8.0
build_test: ^0.10.0
build_web_compilers: ^0.4.0
build_runner: any
build_test: any
build_web_compilers: any

0 comments on commit 6ee9307

Please sign in to comment.