LoggerService class abstract

Logging Service

This abstract class defines the interface for a logging service. It provides methods for logging messages, logging errors with details, and logging the completion time of operations.

Implementers

Constructors

LoggerService.new()

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

log(String message, {Level level}) → void
Logs a general message.
logCompletionTime(DateTime startTime, String operation) → void
Logs the time taken to complete an operation.
logError(String message, String errorDetails, {Level level}) → void
Logs an error message along with error details.
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