Package com.identityworksllc.iiq.common
Class Syslogger
- java.lang.Object
-
- com.identityworksllc.iiq.common.Syslogger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
logEvent(Class<?> owningClass, String message)
static String
logEvent(Class<?> owningClass, String message, Throwable error)
Logs a SyslogEvent of ERROR type with a sequential QuickKey, returning that keystatic String
logEvent(String message)
static String
logEvent(String message, Throwable error)
-
-
-
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
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
-
-