log

open override fun log(level: Level, tag: String, message: String)

Logs a message to both the file and console with the specified level, tag, and message.

This method delegates the logging action to both a FileLogger and ConsoleLogger, ensuring that the message is recorded in the log file and displayed on the console. It is useful for situations where logs need to be both persistently stored and immediately observed.

Parameters

level

The severity level of the log message.

tag

A string tag used to categorize the log message.

message

The text of the log message.