resultex_logger 1.1.3 copy "resultex_logger: ^1.1.3" to clipboard
resultex_logger: ^1.1.3 copied to clipboard

A lightweight, high-performance, and colorized logging system for Flutter and Dart built on top of native developer.log

example/main.dart

import 'package:flutter/foundation.dart';
import 'package:resultex_logger/resultex_logger.dart';
import 'package:resultex_logger/src/logger_base.dart';

void main() async {
  // Example initializing implementation
  final loggerBase = ResultexLoggerBase();
  final logger = ResultexLogger(
    settings: ResultexLoggerSettings(
      maxLineWidth: 40, // Slimmer boxes
      lineSymbol: '*', // Use hashes instead of solid lines
    ),
  );
  await loggerBase.init();
  if (kDebugMode) {
    logger.info('Resultex Logger Example running...');
    logger.info('Application started successfully.');
  }
  logger.debug('Database connection established.');
  logger.info('Resource allocated smoothly.');
  // Warnings & Debugs
  logger.warning('API response time is slower than expected.');
  logger.debug('Fetching user data dynamic payload...');
}
2
likes
160
points
490
downloads

Documentation

API reference

Publisher

verified publishercodearastudio.ir

Weekly Downloads

A lightweight, high-performance, and colorized logging system for Flutter and Dart built on top of native developer.log

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ansicolor, flutter, get_it

More

Packages that depend on resultex_logger