|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.paulwithers.openLog.OpenLogUtil
public class OpenLogUtil
Field Summary | |
---|---|
private static OpenLogItem |
oli_
|
Constructor Summary | |
---|---|
OpenLogUtil()
|
Method Summary | |
---|---|
(package private) static void |
debugPrint(java.lang.Throwable ee)
|
static java.lang.String |
getIniVar(java.lang.String propertyName,
java.lang.String defaultValue)
Get a notes.ini variable value or use default value passed. |
static OpenLogItem |
getOpenLogItem()
Helper method to give easy access to the OpenLogItem |
(package private) static java.lang.String |
getXspProperty(java.lang.String propertyName,
java.lang.String defaultValue)
Gets a proeprty value from xsp.properties either in NSF or on server. |
static void |
logError(Session s,
java.lang.Throwable ee)
Logs an error / throwable for a specific Session |
static void |
logError(Session s,
java.lang.Throwable ee,
java.lang.String msg,
java.util.logging.Level severityType,
Document doc)
Logs an error / throwable for a specific Session at a specific severity for a specific document |
static java.lang.String |
logError(java.lang.Throwable ee)
Logs an error / throwable |
static java.lang.String |
logErrorEx(java.lang.Throwable ee,
java.lang.String msg,
java.util.logging.Level severityType,
Document doc)
Logs an error / throwable at a specific severity for a specific document |
static void |
logEvent(Session s,
java.lang.Throwable ee,
java.lang.String msg,
java.util.logging.Level severityType,
Document doc)
Logs an event for a specific Session at a specific severity for a specific document |
static java.lang.String |
logEvent(java.lang.Throwable ee,
java.lang.String msg,
java.util.logging.Level severityType,
Document doc)
Logs an event at a specific severity for a specific document |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static transient OpenLogItem oli_
Constructor Detail |
---|
public OpenLogUtil()
Method Detail |
---|
public static OpenLogItem getOpenLogItem()
public static java.lang.String logError(java.lang.Throwable ee)
ee
- Throwable holding the error
public static void logError(Session s, java.lang.Throwable ee)
s
- Session to log the eror foree
- Throwable holding the errorpublic static void logError(Session s, java.lang.Throwable ee, java.lang.String msg, java.util.logging.Level severityType, Document doc)
s
- Session to log the eror foree
- Throwable holding the errormsg
- String message to logseverityType
- Level to log atdoc
- Document to log the error for or nullpublic static java.lang.String logErrorEx(java.lang.Throwable ee, java.lang.String msg, java.util.logging.Level severityType, Document doc)
ee
- Throwable holding the errormsg
- String message to logseverityType
- Level to log atdoc
- Document to log the error for or null
public static void logEvent(Session s, java.lang.Throwable ee, java.lang.String msg, java.util.logging.Level severityType, Document doc)
s
- Session to log the event foree
- Throwable - use new Throwable()
msg
- String message to logseverityType
- Level to log atdoc
- Document to log the event for or nullpublic static java.lang.String logEvent(java.lang.Throwable ee, java.lang.String msg, java.util.logging.Level severityType, Document doc)
ee
- Throwable - use new Throwable()
msg
- String message to logseverityType
- Level to log atdoc
- Document to log the event for or nullstatic void debugPrint(java.lang.Throwable ee)
public static java.lang.String getIniVar(java.lang.String propertyName, java.lang.String defaultValue)
propertyName
- String property to retrieve from notes.inidefaultValue
- String default if no notes.ini setting declared
static java.lang.String getXspProperty(java.lang.String propertyName, java.lang.String defaultValue)
propertyName
- String property to retrieve from notes.inidefaultValue
- String default if no notes.ini setting declared
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |