public class FocessLogger extends Object
| 构造器和说明 |
|---|
FocessLogger()
Initialize a logger for this framework.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
consoleInput(String message)
Log a message inputted by console with DEBUG level
|
void |
debug(String message)
Log a message with DEBUG level
|
void |
debugLang(String key,
Object... objects)
Log a message with DEBUG level
|
void |
fatal(String message)
Log a message with ERROR level
|
void |
fatalLang(String key,
Object... objects)
Log a message with ERROR level
|
void |
info(String message)
Log a message with INFO level
|
void |
infoLang(String key,
Object... objects)
Log a message with INFO level
|
void |
thr(String message,
Throwable e)
Log a message and a throwable (or exception) with ERROR level
|
void |
thrLang(String key,
Throwable e,
Object... objects)
Log a message and a throwable (or exception) with ERROR level
|
void |
trace(String message,
Throwable e)
Log a message and a throwable (or exception) with TRACE level
|
public FocessLogger()
Main.getLogger()public void info(String message)
message - the message need to infopublic void infoLang(String key, Object... objects)
key - the language keyobjects - the objects need to replacepublic void consoleInput(String message)
message - the message need to reshowpublic void thr(String message, Throwable e)
message - the message need to errore - a throwable (or exception) with this messagepublic void thrLang(String key, Throwable e, Object... objects)
key - the language keye - a throwable (or exception) with this messageobjects - the objects need to replacepublic void fatal(String message)
message - the message need to fatalpublic void fatalLang(String key, Object... objects)
key - the language keyobjects - the objects need to replacepublic void debug(String message)
message - the message need to debugpublic void debugLang(String key, Object... objects)
key - the language keyobjects - the objects need to replaceCopyright © 2022. All rights reserved.