|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogSF
A simple logging interface abstracting logging APIs based in Apache Jakarta logging.
| Field Summary | |
|---|---|
static java.lang.String |
ATR_LOG_LEVEL
String name for optional attribute "debug". |
static java.lang.String |
ATR_LOGGER_CLASS
String name for optional attribute "debug". |
| Fields inherited from interface org.smartfrog.sfcore.logging.LogLevel |
|---|
LOG_LEVEL_ALL, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_IGNORE, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_TRACE, LOG_LEVEL_WARN |
| Method Summary | |
|---|---|
void |
debug(java.lang.Object message,
SmartFrogException t)
Log an error with debug log level. |
void |
debug(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with debug log level. |
void |
error(java.lang.Object message,
SmartFrogException t)
Log an error with error log level. |
void |
error(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with error log level. |
void |
fatal(java.lang.Object message,
SmartFrogException t)
Log an error with fatal log level. |
void |
fatal(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with fatal log level. |
int |
getLevel()
Get logging level. |
java.lang.String |
getLogName()
Get log name. |
void |
ignore(java.lang.Object message)
Log a message with ignore log level. |
void |
ignore(java.lang.Object message,
SmartFrogException t)
Log an error with ignore log level. |
void |
ignore(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with ignore log level. |
void |
ignore(java.lang.Object message,
java.lang.Throwable t)
Log an error with ignore log level. |
void |
info(java.lang.Object message,
SmartFrogException t)
Log an error with info log level. |
void |
info(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with info log level. |
boolean |
isIgnoreEnabled()
Is ignore logging currently enabled? |
void |
setLevel(int currentLogLevel)
Set logging level. |
void |
trace(java.lang.Object message,
SmartFrogException t)
Log an error with trace log level. |
void |
trace(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with trace log level. |
void |
warn(java.lang.Object message,
SmartFrogException t)
Log an error with warn log level. |
void |
warn(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with warn log level. |
| Methods inherited from interface org.smartfrog.sfcore.logging.Log |
|---|
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, warn, warn |
| Methods inherited from interface org.smartfrog.sfcore.logging.LogMessage |
|---|
err, err, err, err, out |
| Methods inherited from interface org.smartfrog.sfcore.logging.LogLevel |
|---|
isLevelEnabled |
| Field Detail |
|---|
static final java.lang.String ATR_LOG_LEVEL
static final java.lang.String ATR_LOGGER_CLASS
| Method Detail |
|---|
void setLevel(int currentLogLevel)
Set logging level.
setLevel in interface LogLevelcurrentLogLevel - new logging levelint getLevel()
getLevel in interface LogLeveljava.lang.String getLogName()
boolean isIgnoreEnabled()
Is ignore logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String concatenation)
when the log level is more than ignore.
void ignore(java.lang.Object message)
Log a message with ignore log level.
message - log this message
void ignore(java.lang.Object message,
java.lang.Throwable t)
Log an error with ignore log level.
message - log this messaget - log this cause
void ignore(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with ignore log level.
message - log this messaget - log this causetr - log this TerminationRecord
void ignore(java.lang.Object message,
SmartFrogException t)
Log an error with ignore log level.
message - log this messaget - log this cause
void trace(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with trace log level.
message - log this messaget - log this causetr - log this TerminationRecord
void trace(java.lang.Object message,
SmartFrogException t)
Log an error with trace log level.
message - log this messaget - log this cause
void debug(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with debug log level.
message - log this messaget - log this causetr - log this TerminationRecord
void debug(java.lang.Object message,
SmartFrogException t)
Log an error with debug log level.
message - log this messaget - log this cause
void info(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with info log level.
message - log this messaget - log this causetr - log this TerminationRecord
void info(java.lang.Object message,
SmartFrogException t)
Log an error with info log level.
message - log this messaget - log this cause
void warn(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with warn log level.
message - log this messaget - log this causetr - log this TerminationRecord
void warn(java.lang.Object message,
SmartFrogException t)
Log an error with warn log level.
message - log this messaget - log this cause
void error(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with error log level.
message - log this messaget - log this causetr - log this TerminationRecord
void error(java.lang.Object message,
SmartFrogException t)
Log an error with error log level.
message - log this messaget - log this cause
void fatal(java.lang.Object message,
SmartFrogException t,
TerminationRecord tr)
Log a message with fatal log level.
message - log this messaget - log this causetr - log this TerminationRecord
void fatal(java.lang.Object message,
SmartFrogException t)
Log an error with fatal log level.
message - log this messaget - log this cause
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||