contextual 1.1.0 copy "contextual: ^1.1.0" to clipboard
contextual: ^1.1.0 copied to clipboard

A structured logging library for Dart with support for multiple output channels, customizable formatting, context management, and middleware processing.

7
likes
150/ 160
pub points
34
downloads

We analyzed this package 40 hours ago, and awarded it 150 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/kingwill101/contextual/contextual was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/kingwill101/contextual/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

109 out of 165 API elements (66.1 %) have documentation comments.

Some symbols that are missing documentation: contextual.ChannelConfig.ChannelConfig.new, contextual.ChannelConfig.channels, contextual.ChannelConfig.days, contextual.ChannelConfig.driver, contextual.ChannelConfig.emoji.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:contextual/contextual.dart that imports:
  • package:contextual/src/driver/webhook.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:contextual/contextual.dart that imports:
  • package:contextual/src/driver/webhook.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: The variable name 'Level' isn't a lowerCamelCase identifier.

lib/src/driver/sample.dart:34:11

34final Level = _extractLevel(formattedMessage);
   │           ^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/driver/sample.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ansicolor ^2.0.3 2.0.3 2.0.3
intl ^0.20.1 0.20.2 0.20.2
universal_io ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
typed_data - 1.4.0 1.4.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 22Aug 19Sep 16Oct 14Nov 11Dec 9Jan 6Feb 3Mar 3Mar 31020406080100120140>=1.0.0-0 <2.0.0
7
likes
150
points
34
downloads

Publisher

verified publisherglenfordwilliams.com

Weekly Downloads

2024.10.07 - 2025.04.21

A structured logging library for Dart with support for multiple output channels, customizable formatting, context management, and middleware processing.

Homepage
Repository (GitHub)
View/report issues

Topics

#logging

Documentation

API reference

License

MIT (license)

Dependencies

ansicolor, intl, universal_io

More

Packages that depend on contextual