log4d 1.0.4

log4d #

pub package GitHub stars GitHub

A dart logging tool.

Create a Server with shell.

And use dart code to create a client.

Document #

Server document

Gitbook Version


the package under MIT

some copy from other library

Under MIT:

Under Apache 2.0:

1.0.4 #


  • add entity bug

1.0.3 #


  • replace : to =

1.0.2 #

format code

1.0.1 #


  • host


  • force

1.0.0 #

  • Initial version, created by Stagehand


void main() {}

server() {}

client() {}

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate log4d

2. Use it

The package has the following executables:

$ log4d
$ log4d_client

Use this package as a library

1. Depend on it

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

  log4d: ^1.0.4

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or 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:log4d/log4d.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 Sep 10, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.0
  • pana: 0.12.21


Detected platforms: Flutter, other

Primary library: package:log4d/log4d.dart with components: io.

Health issues and suggestions

Document public APIs. (-1 points)

47 out of 47 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
ansicolor ^1.0.2 1.0.2
args ^1.5.1 1.5.2
shelf ^0.7.4 0.7.5
shelf_web_socket ^0.2.2+4 0.2.3
Transitive dependencies
async 2.3.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.3
http_parser 3.1.3
meta 1.1.7
path 1.6.4
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
web_socket_channel 1.0.15
Dev dependencies
test ^1.0.0