ilog 0.1.2
ilog: ^0.1.2 copied to clipboard
Tiny Flutter debug logger that prints colorful, emoji-friendly logs to consoles
iLog β Colorful & Iconic Logging for Flutter π¨ #

iLog is a lightweight Flutter logger for creating readable, colorful, and iconic console log messages.
Each log type includes its own color and optional icon: Error, Warning, Success, Info, Debug, and Custom.
π Usage #
void main() {
// Error log
ILog.error("Something went wrong!", icon: ILogIcon.cross);
// Warning log
ILog.warning("This is a warning.", icon: ILogIcon.warning);
// Info log
ILog.info("Informational message here.", icon: ILogIcon.info);
// Success log
ILog.success("Task completed successfully!", icon: ILogIcon.check);
// Custom log
ILog.custom(
title: "Custom Log",
text: "This is a custom log with your own color.",
color: ILogColor.brightBlue,
icon: ILogIcon.swirl,
);
}
β‘ Features #
β Colorful themed logging
β Optional icon support
β error, warning, info, success, custom log types
β Automatically disabled in release mode
β Uses debugPrintThrottled for clean output
π₯ Example Output #
Example from a real terminal:

π¨ Colors #
| Enum Value | Color Description | Recommended Use |
|---|---|---|
ILogColor.red |
Red | Error / Failure |
ILogColor.brightRed |
Bright Red | Critical Error |
ILogColor.yellow |
Yellow | Warning |
ILogColor.brightYellow |
Bright Yellow | High Visibility Warning |
ILogColor.green |
Green | Success |
ILogColor.brightGreen |
Bright Green | Extra Confirmation / Start |
ILogColor.blue |
Blue | Information (Info) / Process |
ILogColor.brightBlue |
Bright Blue | Highlighted Information |
ILogColor.magenta |
Magenta | Debug / Test Data |
ILogColor.brightMagenta |
Bright Magenta | Fancy Debug |
ILogColor.cyan |
Cyan | Tips / Casual Info |
ILogColor.brightCyan |
Bright Cyan | Highlighted Tips |
ILogColor.white |
White | Neutral Text / Standard Text |
ILogColor.brightWhite |
Bright White | (Standard Terminal) |
ILogColor.black |
Black | Minimal Logs |
ILogColor.brightBlack |
Bright Black (Grey) | Low-Priority Logs (Grey) |
ILogColor.orange |
Orange | Custom Highlight |
ILogColor.purple |
Purple | Custom Detailed Information (Detail) |
π‘ Icons #
| Enum DΙyΙri | Δ°kon | Kateqoriya / MΙqsΙd |
|---|---|---|
ILogIcon.cross |
β | Error |
ILogIcon.bomb |
π£ | Error |
ILogIcon.fire |
π₯ | Error |
ILogIcon.skull |
π | Error |
ILogIcon.alert |
π¨ | Error |
ILogIcon.stopSign |
π | Error |
ILogIcon.explosion |
π₯ | Error |
ILogIcon.warning |
β οΈ | Warning |
ILogIcon.thunder |
β‘ | Warning |
ILogIcon.triangle |
πΊ | Warning |
ILogIcon.caution |
β οΈ | Warning |
ILogIcon.exclamation |
β | Warning |
ILogIcon.bell |
π | Warning |
ILogIcon.hazard |
β£οΈ | Warning |
ILogIcon.check |
β | Success |
ILogIcon.star |
β | Success |
ILogIcon.trophy |
π | Success |
ILogIcon.medal |
π | Success |
ILogIcon.target |
π― | Success |
ILogIcon.sparkles |
β¨ | Success |
ILogIcon.thumbsUp |
π | Success |
ILogIcon.info |
βΉοΈ | Info |
ILogIcon.lightBulb |
π‘ | Info |
ILogIcon.spiral |
π | Info |
ILogIcon.book |
π | Info |
ILogIcon.clipboard |
π | Info |
ILogIcon.page |
π | Info |
ILogIcon.magnifyingGlass |
π | Info |
ILogIcon.wrench |
π οΈ | Debug / Test |
ILogIcon.dizzy |
π« | Debug / Test |
ILogIcon.thought |
π | Debug / Test |
ILogIcon.gear |
βοΈ | Debug / Test |
ILogIcon.bug |
π | Debug / Test |
ILogIcon.hammer |
π¨ | Debug / Test |
ILogIcon.testTube |
π§ͺ | Debug / Test |
ILogIcon.victoryHand |
βοΈ | Fun / Victory |
ILogIcon.smile |
π | Fun / Victory |
ILogIcon.party |
π₯³ | Fun / Victory |
ILogIcon.confetti |
π | Fun / Victory |
ILogIcon.rainbow |
π | Fun / Victory |
ILogIcon.balloon |
π | Fun / Victory |
ILogIcon.medalFun |
π | Fun / Victory |
ILogIcon.diamond |
πΉ | Custom / Neutral |
ILogIcon.triangleBlue |
π· | Custom / Neutral |
ILogIcon.circle |
βͺ | Custom / Neutral |
ILogIcon.square |
βΌοΈ | Custom / Neutral |
ILogIcon.sparkle |
β¨ | Custom / Neutral |
ILogIcon.wave |
π | Custom / Neutral |
ILogIcon.swirl |
π | Custom / Neutral |
ILogIcon.pin |
π | Emotional / Pin |
ILogIcon.heart |
β€οΈ | Emotional |
ILogIcon.heartBroken |
π | Emotional |
ILogIcon.laugh |
π | Emotional |
ILogIcon.cry |
π | Emotional |
ILogIcon.wink |
π | Emotional |