VooLogger class

VooLogger provides logging capabilities for Voo applications.

Constructors

VooLogger.new()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
repository LoggerRepository
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<LogEntry>
no setter

Methods

clearLogs() Future<void>
getLogs({LogFilter? filter}) Future<List<LogEntry>>
getStatistics() Future<LogStatistics>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

config LoggingConfig
getter/setter pair
instance VooLogger
final

Static Methods

debug(String message, {String? category, String? tag, Map<String, dynamic>? metadata, bool shouldNotify = false}) Future<void>
error(String message, {Object? error, StackTrace? stackTrace, String? category, String? tag, Map<String, dynamic>? metadata, bool shouldNotify = false}) Future<void>
fatal(String message, {Object? error, StackTrace? stackTrace, String? category, String? tag, Map<String, dynamic>? metadata, bool shouldNotify = false}) Future<void>
info(String message, {String? category, String? tag, Map<String, dynamic>? metadata, bool shouldNotify = false}) Future<void>
initialize({String? appName, String? appVersion, String? userId, LoggingConfig? config}) Future<void>
log(String s, {required LogLevel level, String? category, required Map<String, Object> metadata, String? tag}) → void
networkRequest(String s, String t, {required Map<String, String> headers, required Map<String, String> metadata}) Future<void>
userAction(String s, {required String screen, required Map<String, Object> properties}) → void
verbose(String message, {String? category, String? tag, Map<String, dynamic>? metadata, bool shouldNotify = false}) Future<void>
warning(String message, {String? category, String? tag, Map<String, dynamic>? metadata, bool shouldNotify = false}) Future<void>