compliance_logger 0.1.0-beta.1
compliance_logger: ^0.1.0-beta.1 copied to clipboard
PII-redacting logger for Dart and Flutter. Masks emails, phone numbers, tokens, API keys, card numbers and IBANs before any sink sees them.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add compliance_loggerWith Flutter:
$ flutter pub add compliance_loggerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
compliance_logger: ^0.1.0-beta.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:compliance_logger/compliance_logger.dart';