tiny_logger

Creator: coderz1093

Last updated:

0 purchases

tiny_logger Image
tiny_logger Images

Languages

Categories

Add to Cart

Description:

tiny logger

ICNH Logging Tool #
A logging tool for Flutter projects.
Usage #
To log a message:
import 'package:icnh_logger/icnh_logger.dart';

log.debug('...');
log.warn('...');
log.error('...');
copied to clipboard
Best used with avoid_print in your analysis_options.yaml.
linter:
rules:
- avoid_print
copied to clipboard
To show the InApp-Logger use the LogView Widget:
bool _showLog = false;

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('ICNH Logger Example')),
body: Stack(
children: [
Center(child: Text('Hello World!')),

if (_showLog)
LogView(
onClose: () => setState(() => _showLog = false),
),
],
),
);
}
copied to clipboard
Example #

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.