Class Logger
Inheritance
java.lang.Object
Logger
Syntax
Constructors
Logger(String name)
Declaration
public Logger(String name)
Parameters
Type |
Name |
Description |
String |
name |
|
Logger(String name, FileHandler fileHandler)
Declaration
public Logger(String name, FileHandler fileHandler)
Parameters
Type |
Name |
Description |
String |
name |
|
FileHandler |
fileHandler |
|
Methods
debug(String msg)
Declaration
public synchronized boolean debug(String msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Returns
Type |
Description |
synchronized boolean |
|
debug(String msg, Throwable e)
Declaration
public synchronized void debug(String msg, Throwable e)
Parameters
Type |
Name |
Description |
String |
msg |
|
Throwable |
e |
|
Returns
Type |
Description |
synchronized void |
|
error(String msg)
Declaration
public synchronized boolean error(String msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Returns
Type |
Description |
synchronized boolean |
|
error(String msg, Throwable e)
Declaration
public synchronized void error(String msg, Throwable e)
Parameters
Type |
Name |
Description |
String |
msg |
|
Throwable |
e |
|
Returns
Type |
Description |
synchronized void |
|
fine(String msg)
Declaration
public synchronized boolean fine(String msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Returns
Type |
Description |
synchronized boolean |
|
fine(String msg, Throwable e)
Declaration
public synchronized void fine(String msg, Throwable e)
Parameters
Type |
Name |
Description |
String |
msg |
|
Throwable |
e |
|
Returns
Type |
Description |
synchronized void |
|
finest(String msg)
Declaration
public synchronized boolean finest(String msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Returns
Type |
Description |
synchronized boolean |
|
finest(String msg, Throwable e)
Declaration
public synchronized void finest(String msg, Throwable e)
Parameters
Type |
Name |
Description |
String |
msg |
|
Throwable |
e |
|
Returns
Type |
Description |
synchronized void |
|
info(String msg)
Declaration
public synchronized boolean info(String msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Returns
Type |
Description |
synchronized boolean |
|
info(String msg, Throwable e)
Declaration
public synchronized void info(String msg, Throwable e)
Parameters
Type |
Name |
Description |
String |
msg |
|
Throwable |
e |
|
Returns
Type |
Description |
synchronized void |
|
log(LogLevel l, String msg)
Declaration
public synchronized void log(LogLevel l, String msg)
Parameters
Type |
Name |
Description |
LogLevel |
l |
|
String |
msg |
|
Returns
Type |
Description |
synchronized void |
|
log(LogLevel l, String msg, Throwable e)
Declaration
public synchronized void log(LogLevel l, String msg, Throwable e)
Parameters
Type |
Name |
Description |
LogLevel |
l |
|
String |
msg |
|
Throwable |
e |
|
Returns
Type |
Description |
synchronized void |
|
setClassName(String className)
Declaration
public void setClassName(String className)
Parameters
Type |
Name |
Description |
String |
className |
|
setOutputForLogFile(PrintWriter out)
Declaration
public void setOutputForLogFile(PrintWriter out)
Parameters
Type |
Name |
Description |
PrintWriter |
out |
|
warning(String msg)
Declaration
public synchronized boolean warning(String msg)
Parameters
Type |
Name |
Description |
String |
msg |
|
Returns
Type |
Description |
synchronized boolean |
|
warning(String msg, Throwable e)
Declaration
public synchronized void warning(String msg, Throwable e)
Parameters
Type |
Name |
Description |
String |
msg |
|
Throwable |
e |
|
Returns
Type |
Description |
synchronized void |
|