ilog 0.0.8 copy "ilog: ^0.0.8" to clipboard
ilog: ^0.0.8 copied to clipboard

Tiny Flutter debug logger that prints colorful, emoji-friendly logs to consoles

iLog – Colorful & Iconic Logging for Flutter 🎨 #

iLog Banner

iLog is a Flutter package for creating readable, colorful, and iconic console log messages. Each log type has its own default color and symbol: Error, Warning, Success, Info, Debug, and Custom.


🚀 Usage #

import 'package:iLog/iLog.dart';

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,
  );
}

🎨 Colors & Usage #

Color ANSI Code Recommended Use
🔴 Red \x1B[31m Error
🚨 Bright Red \x1B[91m Critical Error
🟡 Yellow \x1B[33m Warning
⚡ Bright Yellow \x1B[93m High-visibility Warning
đŸŸĸ Green \x1B[32m Success
🌟 Bright Green \x1B[92m Extra Success
đŸ”ĩ Blue \x1B[34m Info
🌀 Bright Blue \x1B[94m Highlighted Info
💜 Magenta \x1B[35m Debug / Test
✨ Cyan \x1B[36m Tips / Informational
âšĒ White \x1B[37m Neutral / Custom

💡 Icons #

Type Icons Description
Error ❌, đŸ’Ĩ, 🚨, đŸ”Ĩ Problems and critical errors
Warning âš ī¸, 🛑, ⚡, 🔔 Attention-required alerts
Success ✅, đŸŽ¯, 🌟, 🏆 Successful operations
Info â„šī¸, 💡, 🌀, 📘 Informational messages
Debug / Test đŸ› ī¸, đŸ’Ģ, 💭, ✨ Debugging and testing logs
Victory / Fun âœŒī¸ Fun / playful logs
Custom / Neutral 🔹, 🔸 User-defined log messages

⚡ Features #

  • Colorful and highlighted console logs
  • error, warning, info, success, and custom log types
  • Default and optional icon support per log type
  • Automatically disabled in release mode (kReleaseMode)

🌟 Example Output #

iLog Terminal Example

11
likes
0
points
231
downloads

Publisher

unverified uploader

Weekly Downloads

Tiny Flutter debug logger that prints colorful, emoji-friendly logs to consoles

License

unknown (license)

Dependencies

flutter

More

Packages that depend on ilog