public class Logger extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG |
static String |
DEBUG_KEY |
static int |
FATAL |
static String |
FATAL_KEY |
static int |
INFORMATIONAL |
static String |
INFORMATIONAL_KEY |
static int |
NONE |
static String |
NONE_KEY |
static int |
WARNING |
static String |
WARNING_KEY |
Constructor and Description |
---|
Logger(javax.servlet.ServletConfig config,
ResourceBundle resources)
Initialize logging object.
|
Modifier and Type | Method and Description |
---|---|
void |
addDebug(String msg) |
void |
addDebug(String msg,
Throwable throwable) |
void |
addFatal(String key,
Throwable throwable) |
void |
addInformational(String key) |
void |
addInformational(String key,
String arg) |
void |
addInformational(String key,
String arg1,
String arg2,
String arg3) |
void |
addWarning(String key,
String arg) |
void |
addWarning(String key,
String arg1,
String arg2) |
void |
addWarning(String key,
String arg1,
String arg2,
String arg3) |
void |
addWarning(String key,
String arg,
Throwable t) |
public static final int NONE
public static final String NONE_KEY
public static final int FATAL
public static final String FATAL_KEY
public static final int WARNING
public static final String WARNING_KEY
public static final int INFORMATIONAL
public static final String INFORMATIONAL_KEY
public static final int DEBUG
public static final String DEBUG_KEY
public Logger(javax.servlet.ServletConfig config, ResourceBundle resources)
Copyright © 2005–2016 Sun Microsystems. All rights reserved.