Modifier | Constructor and Description |
---|---|
|
SysoLogger()
Defaults packageReduce to 1.
|
|
SysoLogger(int packageReduce)
Amount of characters each package name should be reduced with.
|
protected |
SysoLogger(String klass, int shorten) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message)
Log a debug message.
|
void |
error(String message)
Log an error message.
|
void |
error(String message, Exception e)
Log an error message and exception.
|
Logger |
getLogger(Class> klass) |
Logger |
getLogger(String name) |
void |
info(String message)
Log an info message.
|
boolean |
isLogging(Level level) |
void |
trace(String message)
Log a trace message.
|
void |
warn(String message)
Log a warning message.
|
public SysoLogger()
public SysoLogger(int packageReduce)
packageReduce
-
protected SysoLogger(String klass, int shorten)
klass
-
shorten
-
public boolean isLogging(Level level)
public void warn(String message)
Logger
public void trace(String message)
Logger
public void debug(String message)
Logger
public void info(String message)
Logger
public void error(String message)
Logger
Copyright © 1998–2016. All rights reserved.