|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hyper9.vangaea.server.Log
public class Log
A logging utility class.
| Constructor Summary | |
|---|---|
Log()
|
|
| Method Summary | |
|---|---|
static void |
debug(java.lang.String message)
Writes a log message. |
static void |
debug(java.lang.String message,
com.hyper9.common.beans.Bean bean)
Writes a log message. |
static void |
debug(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
Writes a log message. |
static void |
debug(java.lang.String message,
java.lang.Throwable throwable)
Writes a log message. |
static void |
error(java.lang.String message)
Writes a log message. |
static void |
error(java.lang.String message,
com.hyper9.common.beans.Bean bean)
Writes a log message. |
static void |
error(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
Writes a log message. |
static void |
error(java.lang.String message,
java.lang.Throwable throwable)
Writes a log message. |
static org.apache.log4j.Level |
getLevel()
Gets the current log level. |
static void |
info(java.lang.String message)
Writes a log message. |
static void |
info(java.lang.String message,
com.hyper9.common.beans.Bean bean)
Writes a log message. |
static void |
info(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
Writes a log message. |
static void |
info(java.lang.String message,
java.lang.Throwable throwable)
Writes a log message. |
static void |
log(org.apache.log4j.Level level,
com.hyper9.common.beans.Bean bean,
java.lang.String message,
java.lang.Throwable throwable)
Logs a message. |
static void |
log(org.apache.log4j.Level level,
java.lang.String message)
Writes a log message. |
static void |
log(org.apache.log4j.Level level,
java.lang.String message,
com.hyper9.common.beans.Bean bean)
Writes a log message. |
static void |
log(org.apache.log4j.Level level,
java.lang.String resourceName,
java.lang.String clientAddress,
java.lang.String clientUserName,
java.lang.String transactionID,
java.lang.String targetAddress,
java.lang.String targetUserName,
java.lang.String methodName,
java.lang.String beanType,
java.lang.String beanName,
java.lang.String message,
java.lang.Throwable throwable)
Logs a message. |
static void |
log(org.apache.log4j.Level level,
java.lang.String message,
java.lang.Throwable throwable)
Writes a log message. |
static void |
logOnLevel(java.lang.String message,
java.lang.Exception e)
|
static void |
setConnectionInfo(com.hyper9.uvapi.types.ConnectionInformationBean toSet)
Set the current connection information. |
static void |
setResource(org.restlet.resource.ServerResource toSet)
Set the current resource. |
static void |
setTransactionID(java.lang.String toSet)
Set the current transaction ID. |
static void |
setUser(UserBean toSet)
Set the current user. |
static void |
warn(java.lang.String message)
Writes a log message. |
static void |
warn(java.lang.String message,
com.hyper9.common.beans.Bean bean)
Writes a log message. |
static void |
warn(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
Writes a log message. |
static void |
warn(java.lang.String message,
java.lang.Throwable throwable)
Writes a log message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Log()
| Method Detail |
|---|
public static void setUser(UserBean toSet)
toSet - The current user.public static void setResource(org.restlet.resource.ServerResource toSet)
toSet - The current resource.public static void setTransactionID(java.lang.String toSet)
toSet - The current transaction ID.public static void setConnectionInfo(com.hyper9.uvapi.types.ConnectionInformationBean toSet)
toSet - The current connection information.
public static void log(org.apache.log4j.Level level,
com.hyper9.common.beans.Bean bean,
java.lang.String message,
java.lang.Throwable throwable)
level - The log level.bean - The bean to log (It's okay to pass a null value).message - The message to log.throwable - The throwable to log (It's okay to pass a null value).
public static void log(org.apache.log4j.Level level,
java.lang.String resourceName,
java.lang.String clientAddress,
java.lang.String clientUserName,
java.lang.String transactionID,
java.lang.String targetAddress,
java.lang.String targetUserName,
java.lang.String methodName,
java.lang.String beanType,
java.lang.String beanName,
java.lang.String message,
java.lang.Throwable throwable)
level - resourceName - clientAddress - clientUserName - transactionID - targetAddress - targetUserName - methodName - beanType - beanName - message - throwable - public static org.apache.log4j.Level getLevel()
public static void log(org.apache.log4j.Level level,
java.lang.String message)
level - The intended log level.message - The message to log.
public static void log(org.apache.log4j.Level level,
java.lang.String message,
com.hyper9.common.beans.Bean bean)
level - The intended log level.message - The message to log.bean - The object that is the target of the log message.
public static void log(org.apache.log4j.Level level,
java.lang.String message,
java.lang.Throwable throwable)
level - The intended log level.message - The message to log.throwable - The exception being logged.public static void debug(java.lang.String message)
message - The message to log.
public static void debug(java.lang.String message,
com.hyper9.common.beans.Bean bean)
message - The message to log.bean - The object that is the target of the log message.
public static void debug(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log.throwable - The exception being logged.
public static void debug(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
message - The message to log.bean - The object that is the target of the log message.throwable - The exception being logged.public static void info(java.lang.String message)
message - The message to log.
public static void info(java.lang.String message,
com.hyper9.common.beans.Bean bean)
message - The message to log.bean - The object that is the target of the log message.
public static void info(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log.throwable - The exception being logged.
public static void info(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
message - The message to log.bean - The object that is the target of the log message.throwable - The exception being logged.public static void error(java.lang.String message)
message - The message to log.
public static void error(java.lang.String message,
com.hyper9.common.beans.Bean bean)
message - The message to log.bean - The object that is the target of the log message.
public static void error(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log.throwable - The exception being logged.
public static void error(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
message - The message to log.bean - The object that is the target of the log message.throwable - The exception being logged.public static void warn(java.lang.String message)
message - The message to log.
public static void warn(java.lang.String message,
com.hyper9.common.beans.Bean bean)
message - The message to log.bean - The object that is the target of the log message.
public static void warn(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log.throwable - The exception being logged.
public static void warn(java.lang.String message,
com.hyper9.common.beans.Bean bean,
java.lang.Throwable throwable)
message - The message to log.bean - The object that is the target of the log message.throwable - The exception being logged.
public static void logOnLevel(java.lang.String message,
java.lang.Exception e)
message - e -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||