wuchuheng_logger

Creator: coderz1093

Last updated:

0 purchases

wuchuheng_logger Image
wuchuheng_logger Images

Languages

Categories

Add to Cart

Description:

wuchuheng logger

wuchuheng_logger

This is a log library for dart





Features #

ERROR log
INFO log

Getting started #
Usage #
import 'package:wuchuheng_logger/src/index.dart';

void main() {
Logger.info('Hello logger for info.', symbol: 'print');
// INFO 2022-08-20 12:47:24.401546: Hello logger for info. file://wuchuheng_logger/example/wuchuheng_logger_example.dart:4:10 symbol: print
Logger.error('Hello logger for error.', symbol: 'print');
// INFO 2022-08-20 12:47:24.405646: Hello logger for error. file://wuchuheng_logger/example/wuchuheng_logger_example.dart:5:10 symbol: print
// Subscribe to the log
final subscribeHandle = Logger.subscribe((loggerItem) {
print(loggerItem.message);
print(loggerItem.symbol);
print(loggerItem.type);
});
subscribeHandle.unsubscribe();
}
copied to clipboard
Additional information #
contribute to the package, how to file issues, what response they can expect
from the package authors, and more.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.