semi_logger 1.0.0+3 copy "semi_logger: ^1.0.0+3" to clipboard
semi_logger: ^1.0.0+3 copied to clipboard

Color Logger and Base Exception for dart and flutter project.

Features #

Logger with colorful for console.

  • log data:

block

  • semi_exception log

semi_exception

Getting started #

Add dependency to your pubspec.yaml:

semi_logger: 'any'

Usage #

Import packages:

import 'package:semi_logger/semi_logger.dart';

Set up:

SemiLogger.setup(
  name: 'Semi Logger Test',
  debugMode: true,
  styleData: SemiLogStyleData(),
);

Print log:

SemiLogger().log(message: 'Hello World', level: SemiLogLevel.info);

or

SemiLogLevel.info.log('Hello World');

You can override log name with SemiLogger.instance()

SemiLogger.instance(name: 'Hello').i('Hello World');

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

Color Logger and Base Exception for dart and flutter project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (license)

More

Packages that depend on semi_logger