dart_console_log_handler 1.0.0 copy "dart_console_log_handler: ^1.0.0" to clipboard
dart_console_log_handler: ^1.0.0 copied to clipboard

Platformweb

A dart package to show your log messages in browser console. From now, you can see your dart log messages in the browser.

dart_console_log_handler #

A dart package to show your log messages in browser console. From now, you can see your dart log messages in the browser.

How to use it #

library unit.test;

import 'package:logging/logging.dart';

// Browser
import "package:dart_console_log_handler/dart_console_log_handler.dart";

// Commandline
import "package:dart_console_log_handler/print_log_handler.dart";

void main() {
    configLogging(show: Level.INFO, transformer: transformerMessageOnly);
    final Logger _logger = new Logger("test");

    try {
        throw "Sample for exception";
    } on String catch( error, stacktrace) {

        _logger.severe("Caught error",error,stacktrace);
    }

}

0
likes
90
pub points
15%
popularity

Publisher

unverified uploader

A dart package to show your log messages in browser console. From now, you can see your dart log messages in the browser.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

ansicolor, flutter, intl, logging

More

Packages that depend on dart_console_log_handler