tw_logger 0.0.8 copy "tw_logger: ^0.0.8" to clipboard
tw_logger: ^0.0.8 copied to clipboard

A Flutter package for logging with database support, which can be used to log network, errors, exceptions, and debug messages.

2
likes
130/ 160
pub points
44%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

35 out of 96 API elements (36.5 %) have documentation comments.

Some symbols that are missing documentation: tw_logger, tw_logger.TWConsoleOutput, tw_logger.TWConsoleOutput.TWConsoleOutput, tw_logger.TWConsoleOutput.destroy, tw_logger.TWConsoleOutput.init.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:tw_logger/tw_logger.dart that imports:
  • package:tw_logger/src/net/tw_network_interceptor.dart that imports:
  • package:tw_logger/src/helper/tw_network_helper.dart that imports:
  • package:tw_logger/src/helper/tw_datebase_helper.dart that imports:
  • package:tw_logger/src/db/tw_database.dart that imports:
  • package:tw_logger/src/db/table/tw_regular.dart that imports:
  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:tw_logger/tw_logger.dart that imports:
  • package:tw_logger/src/net/tw_network_interceptor.dart that imports:
  • package:tw_logger/src/helper/tw_network_helper.dart that imports:
  • package:tw_logger/src/helper/tw_datebase_helper.dart that imports:
  • package:tw_logger/src/db/tw_database.dart that imports:
  • package:tw_logger/src/db/table/tw_regular.dart that imports:
  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:tw_logger/tw_logger.dart that imports:
  • package:tw_logger/src/net/tw_network_interceptor.dart that imports:
  • package:tw_logger/src/helper/tw_network_helper.dart that imports:
  • package:tw_logger/src/helper/tw_datebase_helper.dart that imports:
  • package:tw_logger/src/db/tw_database.dart that imports:
  • package:tw_logger/src/db/table/tw_regular.dart that imports:
  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:tw_logger/tw_logger.dart that imports:
  • package:tw_logger/src/net/tw_network_interceptor.dart that imports:
  • package:tw_logger/src/helper/tw_network_helper.dart that imports:
  • package:tw_logger/src/helper/tw_datebase_helper.dart that imports:
  • package:tw_logger/src/db/tw_database.dart that imports:
  • package:tw_logger/src/db/table/tw_regular.dart that imports:
  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:tw_logger/tw_logger.dart that imports:
  • package:tw_logger/src/net/tw_network_interceptor.dart that imports:
  • package:tw_logger/src/helper/tw_network_helper.dart that imports:
  • package:tw_logger/src/helper/tw_datebase_helper.dart that imports:
  • package:tw_logger/src/db/tw_database.dart that imports:
  • package:tw_logger/src/db/table/tw_regular.dart that imports:
  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.dart that imports:
  • package:sqflite_common_ffi_web/sqflite_ffi_web.dart that declares support for platforms: Web.
Package does not support platform `Web`.

Because:

  • package:tw_logger/tw_logger.dart that imports:
  • package:tw_logger/src/net/tw_network_interceptor.dart that imports:
  • package:tw_logger/src/helper/tw_network_helper.dart that imports:
  • package:tw_logger/src/helper/tw_datebase_helper.dart that imports:
  • package:tw_logger/src/db/tw_database.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:tw_logger/tw_logger.dart that imports:
  • package:tw_logger/src/net/tw_network_interceptor.dart that imports:
  • package:tw_logger/src/helper/tw_network_helper.dart that imports:
  • package:tw_logger/src/helper/tw_datebase_helper.dart that imports:
  • package:tw_logger/src/db/tw_database.dart that imports:
  • package:tw_logger/src/db/table/tw_regular.dart that imports:
  • package:floor/floor.dart that imports:
  • package:floor/src/sqflite_database_factory.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

/tmp/pana_YFOLCJ/lib/src/helper/tw_loger_helper.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
dio ^5.7.0 5.7.0 5.7.0
floor ^1.5.0 1.5.0 1.5.0
flutter flutter 0.0.0 0.0.0
flutter_keyboard_visibility ^6.0.0 6.0.0 6.0.0
flutter_speed_dial ^7.0.0 7.0.0 7.0.0
grouped_list ^6.0.0 6.0.0 6.0.0
intl ^0.19.0 0.19.0 0.20.0
logger ^2.4.0 2.5.0 2.5.0
sqflite ^2.3.3+1 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
dev_build - 1.1.0+2 1.1.0+2
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
floor_annotation - 1.5.0 1.5.0
floor_common - 1.5.0 1.5.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
process_run - 1.2.2 1.2.2
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_common_ffi - 2.3.4+3 2.3.4+3
sqflite_common_ffi_web - 0.4.5+4 0.4.5+4
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
sqlite3 - 2.4.7 2.4.7
sqlparser - 0.34.1 0.39.2
stack_trace - 1.12.0 1.12.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`, that was published 8 days ago.

When intl is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions intl to update the constraint.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

2
likes
130
pub points
44%
popularity

Publisher

unverified uploader

A Flutter package for logging with database support, which can be used to log network, errors, exceptions, and debug messages.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, floor, flutter, flutter_keyboard_visibility, flutter_speed_dial, grouped_list, intl, logger, sqflite

More

Packages that depend on tw_logger