super_logging 1.0.0

Super Logging #


pub package

This package lets you easily log to:

  • stdout
  • disk
import 'package:super_logging/super_logging.dart';
import 'package:logging/logging.dart';

final logger = Logger("main");

main() async {
  // just call once, and let it handle the rest!
  await SuperLogging.main();"hello!");

(Above example will log to stdout and disk.)

Logging to #

Just specify your sentry DSN.

  sentryDsn: '',

Log uncaught errors #

Just provide the contents of your main() function to super logging.

void main() {
    body: _main,

void _main() {

Read the docs to know about more customization options.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  super_logging: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:super_logging/super_logging.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 14, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5
  • Flutter: 1.12.13+hotfix.7

Maintenance issues and suggestions

Provide a file named (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and super_logging.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
device_info ^0.4.1+4 0.4.1+4
flutter 0.0.0
get_ip ^0.4.0 0.4.0
intl ^0.16.1 0.16.1
logging ^0.11.4 0.11.4
package_info ^0.4.0+13 0.4.0+13
path ^1.6.4 1.6.4
path_provider ^1.6.0 1.6.0
sentry ^3.0.1 3.0.1
Transitive dependencies
async 2.4.0
charcode 1.1.3
collection 1.14.11 1.14.12
http 0.12.0+4
http_parser 3.1.3
meta 1.1.8
pedantic 1.9.0
platform 2.2.1
sky_engine 0.0.99
source_span 1.6.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
usage 3.4.1
vector_math 2.0.8
Dev dependencies