console_mixin 0.0.1 copy "console_mixin: ^0.0.1" to clipboard
console_mixin: ^0.0.1 copied to clipboard

A beautiful and easy to use Console Logger package for Dart & Flutter

Contributors Forks Stargazers Issues MIT License LinkedIn


A beautiful and easy to use Console Logger for Dart & Flutter

A beautiful and easy to use Console Logger for Dart & Flutter

Report Bug · Request Feature

Table of Contents #

About The Project #

A beautiful and easy to use Console Logger using Dart Mixins for Dart & Flutter! A wrapper of https://pub.dev/packages/logger

EXAMPLE PROJECT SCREENSHOT #

Playground Desktop App

Supported Platforms #

  • iOS
  • Android
  • Mac OS
  • Windows
  • Linux
  • Web

Built With #

Google Flutter SDK

Getting Started #

Prerequisites #

Installation #

  1. Clone the repo
git clone https://github.com/oliverbytes/console_mixin.git
  1. Install packages dependencies
flutter pub get
  1. Run
flutter run

Usage #

// Import Package
import 'package:console_mixin/console_mixin.dart';

// Add as Mixin to your class
class MainScreen extends StatelessWidget with ConsoleMixin {

//-- console object is coming from the ConsoleMixin above
console.info('console.info()');
console.debug('console.debug()');
console.warning('console.warning()');
console.error('console.error()');
console.wtf('console.wtf()');
console.verbose('console.verbose()');

//-- Javascript style
console.log(Level.debug, 'console.name: ${console.name}\n\n');

// print the class name
console.info('console.name: ${console.name}\n\n');

//-- Added as inline variable, useful for static classes where Mixins are not supported
final inlineConsole = Console(name: 'Inline Console Name');
inlineConsole.info('inline console.info(), name: ${inlineConsole.name}');

Roadmap #

  • Unit Testing

See the open issues for a list of proposed features (and known issues).

Contributing #

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License #

Distributed under the MIT License. See LICENSE for more information.

Contact #

Oliver Martinez - @oliverbytes - nemoryoliver@gmail.com

Project Link: https://github.com/oliverbytes/console_mixin

Acknowledgements #

5
likes
130
pub points
66%
popularity

Publisher

verified publisherstackwares.com

A beautiful and easy to use Console Logger package for Dart & Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, logger

More

Packages that depend on console_mixin