A colorful log utils.
English | 中文
Open pubspec.yaml
file.
# remote style
dependencies:
colorful_log: ^0.0.1
# local style
dependencies:
colorful_log:
path: PathOfProject
# git style
dependencies:
colorful_log:
git:
url: git://github.com/EngrZhou/ColorfulLog.git
///true:colorful style | false:original style
Log.setColorful(false);
///set log print level
Log.setLogLevel(Log.warn);
///as android usual style
Log.V(tag, 'This is VERBOSE level colorful Log with custom tag.');
///as dart
Log.i(tag: tag, msg: 'This is INFO level colorful Log with custom tag.');
///as dart
Log.d(msg: 'This is DEBUG level colorful Log with none tag.');