Logger

class Logger(name: String)

Represents a logger for the logging module.

Parameters

name

The name of the logger

How's this different from other loggers? This logger will store the data in isolated folders

Constructors

Link copied to clipboard
constructor(name: String)

Functions

Link copied to clipboard
fun debug(message: String)

Logs a message at the Level.ALL level with the prefix 'DEBUG'.

Link copied to clipboard
fun fine(message: String)

Logs a message at the Level.FINE level.

Link copied to clipboard
fun finer(message: String)

Logs a message at the Level.FINER level.

Link copied to clipboard
fun finest(message: String)

Logs a message at the Level.FINEST level.

Link copied to clipboard
fun info(message: String)

Logs a message at the Level.INFO level.

Link copied to clipboard
fun severe(message: String)

Logs a message at the Level.SEVERE level.

fun severe(message: String, exception: Exception)

Logs a message at the Level.SEVERE level with an exception.

Link copied to clipboard
fun warning(message: String)

Logs a message at the Level.WARNING level.