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.

Libraries

semi_logger