dev_colorized_log 1.0.1 dev_colorized_log: ^1.0.1 copied to clipboard
A Flutter package for logging colorized text in developer mode.
Dev Colorized Log #
A Flutter package for logging colorized text in developer mode.
Usage #
See examples to /example
folder.
// Global settings:
Dev.enable = true; // whether log msg
Dev.isLogFileInfo = true; // whether log the location file info
Dev.defaultColorInt = 33; // default color text, int value from 0 to 107
// Log usage:
Dev.log('Colorized text log'); // default yellow text
Dev.logInfo('Colorized text Info'); // blue text
Dev.logSuccess('Colorized text Success'); // green text
Dev.logWarning('Colorized text Warning'); // yellow text
Dev.logError('Colorized text Error'); // red text
Dev.logBlink('Colorized text blink', isSlow: true, isLog: true); // blink orange text
Dev.logCustom('Colorized text custom with Custom: 41', colorInt: 41, fileInfo: null); // custom color text
Author #
Visit my github: janlionly
Contact with me by email: janlionly@gmail.com
Contribute #
I would love you to contribute to DevColorizedLog
License #
DevColorizedLog is available under the MIT license. See the LICENSE file for more info.