LoggingConfiguration class

Configuration for PubNub instance logging.

This class encapsulates all logging-related configuration options,

Constructors

LoggingConfiguration({int logLevel = 0, String? loggerName, bool logToConsole = true, String? logFormat, ILogger? customLogger})
const

Properties

customLogger ILogger?
final
hashCode int
The hash code for this object.
no setterinherited
logFormat String?
final
loggerName String?
final
logLevel int
final
logToConsole bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createLogger(String instanceId) ILogger
Creates a logger based on this configuration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setupConsoleOutput(StreamLogger logger) StreamSubscription<LogRecord>?
Sets up console output for the logger if enabled
toString() String
A string representation of this object.
inherited

Operators

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