TLogger class

Custom logger class for application logging.

Constructors

TLogger(String label, {LogLevel level = LogLevel.debug, bool isEnabled = true, String labelColor = "\x1B[35m", String labelTimeColor = "\x1B[34m", dynamic outputFunction(String)?})
Constructor for TLogger.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEnabled ↔ bool
getter/setter pair
label → String
final
level ↔ LogLevel
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

debug(String message) → void
error(String message, [StackTrace? stackTrace]) → void
info(String message, [dynamic value]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
padZero(int number) → String
padZeroMilliseconds(int number) → String
toString() → String
A string representation of this object.
inherited
warning(String message) → void

Operators

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