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 |
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.Copyright © 2024. All rights reserved.