Package com.identityworksllc.iiq.common
Class Syslogger
- java.lang.Object
-
- com.identityworksllc.iiq.common.Syslogger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSyslogger.SyslogArgsArgument VO for syslog events
-
Field Summary
Fields Modifier and Type Field Description static StringEVENT_LEVEL_ERROREvent level errorstatic StringEVENT_LEVEL_INFOEvent level infostatic StringEVENT_LEVEL_WARNEvent level warn
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringlogEvent(Class<?> owningClass, String message)static StringlogEvent(Class<?> owningClass, String message, Throwable error)static StringlogEvent(Class<?> owningClass, String message, Throwable error, String eventLevel)Logs a SyslogEvent of ERROR type with a sequential QuickKey, returning that keystatic StringlogEvent(String message)static StringlogEvent(String message, Throwable error)
-
-
-
Field Detail
-
EVENT_LEVEL_ERROR
public static final String EVENT_LEVEL_ERROR
Event level error- See Also:
- Constant Field Values
-
EVENT_LEVEL_INFO
public static final String EVENT_LEVEL_INFO
Event level info- See Also:
- Constant Field Values
-
EVENT_LEVEL_WARN
public static final String EVENT_LEVEL_WARN
Event level warn- See Also:
- Constant Field Values
-
-
Method Detail
-
logEvent
public static String logEvent(Class<?> owningClass, String message) throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException- See Also:
logEvent(Class, String, Throwable)
-
logEvent
public static String logEvent(String message) throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException- See Also:
logEvent(Class, String, Throwable)
-
logEvent
public static String logEvent(String message, Throwable error) throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException- See Also:
logEvent(Class, String, Throwable)
-
logEvent
public static String logEvent(Class<?> owningClass, String message, Throwable error) throws sailpoint.tools.GeneralException
- Throws:
sailpoint.tools.GeneralException
-
logEvent
public static String logEvent(Class<?> owningClass, String message, Throwable error, String eventLevel) throws sailpoint.tools.GeneralException
Logs a SyslogEvent of ERROR type with a sequential QuickKey, returning that key- Parameters:
owningClass- The class invoking this method, which will be logged as the class name, optionallymessage- The message to log (not null)error- The error, optionally- Returns:
- The quick key generated for this event
- Throws:
sailpoint.tools.GeneralException- if any failures occur during logging or creating the private context
-
-