ObslyLogger class

Sistema de logging del SDK

Constructors

ObslyLogger()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

currentLevel LogLevel
Get current log level
no setter
currentLevelString String
Get current log level as string
no setter

Static Methods

debug(String message) → void
Log de debug
debugSummary(String title, Map<String, dynamic> summary) → void
Log debug summary - consolidated logging for multiple items
enableDeveloperMode({LogLevel level = LogLevel.verbose}) → void
Enable developer mode (verbose level)
error(String message, [Object? error, StackTrace? stackTrace]) → void
Log de error
errorWithContext(String component, String operation, String error, StackTrace? stackTrace, {Map<String, dynamic>? context}) → void
Enhanced error logging with context (para ANY component)
log(String message) → void
Log normal
setLevel(LogLevel level) → void
Establece el nivel de logging
setLevelFromString(String? levelString, {LogLevel fallback = LogLevel.error}) → void
Establece el nivel de logging desde string
verbose(String message) → void
Log verbose para rule developers
verboseDetails(String component, String details) → void
Log verbose details - automatically checks verbose level internally
warn(String message, [Object? error]) → void
Log de warning