public final class GConsoleLogger extends Object
| Modifier and Type | Method and Description |
|---|---|
static Logger |
getLogger()
Method returning the singleton logger object.
|
static void |
iniConsoleLogger(GTextAreaInterface textAreaInterface)
Method to initialize the logger with the right format.
|
static void |
logf(Level level,
String format,
Object... args)
Log to the console logged with format.
|
static void |
reset()
reset the logger
|
static void |
setLogLevel(Level level)
Set Logger Level.
|
public static void iniConsoleLogger(GTextAreaInterface textAreaInterface)
textAreaInterface - object implementing the textAreaItnerface where the
log shall be sent, if null the log will be sent to
the console.public static Logger getLogger()
public static void setLogLevel(Level level)
level - Logger Level.public static void logf(Level level, String format, Object... args)
level - One of the message level identifiers, e.g., SEVERE.format - of the message.args - to format.public static void reset()
Copyright © 2025. All rights reserved.