loggerx2 1.0.1 copy "loggerx2: ^1.0.1" to clipboard
loggerx2: ^1.0.1 copied to clipboard

Colorful, neat and intuitive logger library, for creating a simple log messages with many urgency levels.

loggerx2 #

Colorful, neat, and intuitive logger library for creating simple log messages with various urgency levels.

Features #

  • Log messages with different levels: info, debug, warning, error, and success.
  • Enable or disable the logger.
  • Filter messages based on the log level.

Getting Started #

To start using the loggerx2 package, add it to your pubspec.yaml file:

dependencies:
  loggerx2: ^1.0.1
copied to clipboard

Then, run pub get to install the package.

Usage #

Here is a simple example of how to use the loggerx2 package:

import 'package:loggerx2/loggerx.dart';

void main() {
    final logger = LoggerX();
    
    logger.info('This is an info message');
    logger.debug('This is a debug message');
    logger.warning('This is a warning message');
    logger.error('This is an error message');
    logger.success('This is a success message');
}
copied to clipboard

Additional Information #

For more information, visit the repository: https://github.com/unix14/loggerx.

License #

This project is licensed under the MIT License. See the LICENSE file for details.

1
likes
140
points
34
downloads

Publisher

verified publisher3p-cups.com

Weekly Downloads

2024.09.14 - 2025.03.29

Colorful, neat and intuitive logger library, for creating a simple log messages with many urgency levels.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

ansi_styles

More

Packages that depend on loggerx2