write_logger 0.0.5
write_logger: ^0.0.5 copied to clipboard
Colored console and encrypted daily file logging for Flutter apps.
0.0.5 #
- Box-border layout for each log in console and file.
- Fix console box borders mangled as `` on Android (avoid per-line ANSI wraps).
- When encryption is enabled, encrypt message body only — level, timestamp, and tag stay plaintext.
- Log directory and file-name prefix are package-managed (documents dir +
log_) — removed from config. - Tags are opaque labels only (e.g.
cURL,Login cURL); color comes from log level, not tag. - Add sample
AppEncryptionAdapterinexample/lib/app_encryption_adapter.dart.
0.0.4 #
- Remove emojis from log formatting.
enableConsoledefaults tokDebugMode(still overridable).- ANSI colors are always applied in the console sink (removed
useColors). - All log levels are written (removed
minLevelfiltering). - Simplify
WriteLoggerConfigdocs and README for the new defaults.
0.0.3 #
- Print the full log file path to the console during
WriteLogger.init.
0.0.2 #
- Rename
LogLeveltoWriteLogLevel(extensionWriteLogLevelX). - Expand dartdoc comments for public constructors and method parameters.
- Clarify web console-only behavior and config field documentation.
0.0.1 #
- Initial package: colored console logging, daily file logs, optional encryption adapter, retention cleanup, and level filtering.
- Log helpers for trace, debug, info, warning, error, validate, security, performance, and delete.
- Web support: console-only (file logging skipped via conditional imports).
WriteLogger.getLogFilePath()andsupportsFileLoggingfor platform-safe file access.- Example app with all levels, sample cURL logging, open file, and in-app viewer.