Package com.isode.logging
Class JavadsapiLog
java.lang.Object
com.isode.logging.JavadsapiLog
This class provides methods to log messages for
the javadsapimsg facility.
- See Also:
-
IsodeLogger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final intUnique message id for jni_trace_enterstatic final intUnique message id for jni_trace_exception_pendingstatic final intUnique message id for jni_trace_leave_intstatic final intUnique message id for jni_trace_leave_stringstatic final intUnique message id for jni_trace_throwingstatic final intUnique message id for jni_unexpected_exceptionstatic final intUnique message id for log_criticalstatic final intUnique message id for log_finestatic final intUnique message id for log_fineststatic final intUnique message id for log_infostatic final intUnique message id for log_severestatic final intUnique message id for log_warning -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidjni_trace_enter(String Function) jni_trace_enter (severity detail) : The JNI function was entered.static booleanDetermine whether any log stream is currently logging jni_trace_enter messagesstatic voidjni_trace_exception_pending(String Function) jni_trace_exception_pending (severity detail) : The JNI function returned with a pending exceptionstatic booleanDetermine whether any log stream is currently logging jni_trace_exception_pending messagesstatic voidjni_trace_leave_int(String Function, int Result) jni_trace_leave_int (severity detail) : The JNI function returned.static booleanDetermine whether any log stream is currently logging jni_trace_leave_int messagesstatic voidjni_trace_leave_string(String Function, String Result) jni_trace_leave_string (severity detail) : The JNI function returned.static booleanDetermine whether any log stream is currently logging jni_trace_leave_string messagesstatic voidjni_trace_throwing(String Function) jni_trace_throwing (severity detail) : JNI is throwing an exception to the Java layerstatic booleanDetermine whether any log stream is currently logging jni_trace_throwing messagesstatic voidjni_unexpected_exception(String Exception) jni_unexpected_exception (severity error) : An exception has been caught during JNI cleanup, which probably indicates a serious Java problem or a programming error.static booleanDetermine whether any log stream is currently logging jni_unexpected_exception messagesstatic voidlog_critical(String criticalText) log_critical (severity critical) : A Java method logged a critical error.static booleanDetermine whether any log stream is currently logging log_critical messagesstatic voidlog_fine (severity detail) : A Java method logged a message for tracing purposes.static booleanDetermine whether any log stream is currently logging log_fine messagesstatic voidlog_finest(String finestText) log_finest (severity detail) : A Java method logged a message for tracing purposes.static booleanDetermine whether any log stream is currently logging log_finest messagesstatic voidlog_info (severity information) : A Java method logged an informational message.static booleanDetermine whether any log stream is currently logging log_info messagesstatic voidlog_severe(String severeText) log_severe (severity error) : A Java method logged a severe error.static booleanDetermine whether any log stream is currently logging log_severe messagesstatic voidlog_warning(String warningText) log_warning (severity warning) : A Java method logged a warning message.static booleanDetermine whether any log stream is currently logging log_warning messages
-
Field Details
-
MSG_javadsapimsg_jni_trace_enter
public static final int MSG_javadsapimsg_jni_trace_enterUnique message id for jni_trace_enter- See Also:
-
MSG_javadsapimsg_jni_trace_exception_pending
public static final int MSG_javadsapimsg_jni_trace_exception_pendingUnique message id for jni_trace_exception_pending- See Also:
-
MSG_javadsapimsg_jni_trace_leave_string
public static final int MSG_javadsapimsg_jni_trace_leave_stringUnique message id for jni_trace_leave_string- See Also:
-
MSG_javadsapimsg_jni_trace_leave_int
public static final int MSG_javadsapimsg_jni_trace_leave_intUnique message id for jni_trace_leave_int- See Also:
-
MSG_javadsapimsg_jni_trace_throwing
public static final int MSG_javadsapimsg_jni_trace_throwingUnique message id for jni_trace_throwing- See Also:
-
MSG_javadsapimsg_jni_unexpected_exception
public static final int MSG_javadsapimsg_jni_unexpected_exceptionUnique message id for jni_unexpected_exception- See Also:
-
MSG_javadsapimsg_log_finest
public static final int MSG_javadsapimsg_log_finestUnique message id for log_finest- See Also:
-
MSG_javadsapimsg_log_fine
public static final int MSG_javadsapimsg_log_fineUnique message id for log_fine- See Also:
-
MSG_javadsapimsg_log_info
public static final int MSG_javadsapimsg_log_infoUnique message id for log_info- See Also:
-
MSG_javadsapimsg_log_warning
public static final int MSG_javadsapimsg_log_warningUnique message id for log_warning- See Also:
-
MSG_javadsapimsg_log_severe
public static final int MSG_javadsapimsg_log_severeUnique message id for log_severe- See Also:
-
MSG_javadsapimsg_log_critical
public static final int MSG_javadsapimsg_log_criticalUnique message id for log_critical- See Also:
-
facilityName
- See Also:
-
jni_trace_enter_text
- See Also:
-
jni_trace_exception_pending_text
- See Also:
-
jni_trace_leave_string_text
- See Also:
-
jni_trace_leave_int_text
- See Also:
-
jni_trace_throwing_text
- See Also:
-
jni_unexpected_exception_text
- See Also:
-
log_finest_text
- See Also:
-
log_fine_text
- See Also:
-
log_info_text
- See Also:
-
log_warning_text
- See Also:
-
log_severe_text
- See Also:
-
log_critical_text
- See Also:
-
-
Constructor Details
-
JavadsapiLog
public JavadsapiLog()
-
-
Method Details
-
jni_trace_enter
jni_trace_enter (severity detail) : The JNI function was entered. -
jni_trace_enter_isLoggable
public static boolean jni_trace_enter_isLoggable()Determine whether any log stream is currently logging jni_trace_enter messages- Returns:
- true if a jni_trace_enter would be logged now, false otherwise.
-
jni_trace_exception_pending
jni_trace_exception_pending (severity detail) : The JNI function returned with a pending exception -
jni_trace_exception_pending_isLoggable
public static boolean jni_trace_exception_pending_isLoggable()Determine whether any log stream is currently logging jni_trace_exception_pending messages- Returns:
- true if a jni_trace_exception_pending would be logged now, false otherwise.
-
jni_trace_leave_string
jni_trace_leave_string (severity detail) : The JNI function returned. -
jni_trace_leave_string_isLoggable
public static boolean jni_trace_leave_string_isLoggable()Determine whether any log stream is currently logging jni_trace_leave_string messages- Returns:
- true if a jni_trace_leave_string would be logged now, false otherwise.
-
jni_trace_leave_int
jni_trace_leave_int (severity detail) : The JNI function returned. -
jni_trace_leave_int_isLoggable
public static boolean jni_trace_leave_int_isLoggable()Determine whether any log stream is currently logging jni_trace_leave_int messages- Returns:
- true if a jni_trace_leave_int would be logged now, false otherwise.
-
jni_trace_throwing
jni_trace_throwing (severity detail) : JNI is throwing an exception to the Java layer -
jni_trace_throwing_isLoggable
public static boolean jni_trace_throwing_isLoggable()Determine whether any log stream is currently logging jni_trace_throwing messages- Returns:
- true if a jni_trace_throwing would be logged now, false otherwise.
-
jni_unexpected_exception
jni_unexpected_exception (severity error) : An exception has been caught during JNI cleanup, which probably indicates a serious Java problem or a programming error. -
jni_unexpected_exception_isLoggable
public static boolean jni_unexpected_exception_isLoggable()Determine whether any log stream is currently logging jni_unexpected_exception messages- Returns:
- true if a jni_unexpected_exception would be logged now, false otherwise.
-
log_finest
log_finest (severity detail) : A Java method logged a message for tracing purposes. -
log_finest_isLoggable
public static boolean log_finest_isLoggable()Determine whether any log stream is currently logging log_finest messages- Returns:
- true if a log_finest would be logged now, false otherwise.
-
log_fine
log_fine (severity detail) : A Java method logged a message for tracing purposes. -
log_fine_isLoggable
public static boolean log_fine_isLoggable()Determine whether any log stream is currently logging log_fine messages- Returns:
- true if a log_fine would be logged now, false otherwise.
-
log_info
log_info (severity information) : A Java method logged an informational message. -
log_info_isLoggable
public static boolean log_info_isLoggable()Determine whether any log stream is currently logging log_info messages- Returns:
- true if a log_info would be logged now, false otherwise.
-
log_warning
log_warning (severity warning) : A Java method logged a warning message. -
log_warning_isLoggable
public static boolean log_warning_isLoggable()Determine whether any log stream is currently logging log_warning messages- Returns:
- true if a log_warning would be logged now, false otherwise.
-
log_severe
log_severe (severity error) : A Java method logged a severe error. -
log_severe_isLoggable
public static boolean log_severe_isLoggable()Determine whether any log stream is currently logging log_severe messages- Returns:
- true if a log_severe would be logged now, false otherwise.
-
log_critical
log_critical (severity critical) : A Java method logged a critical error. -
log_critical_isLoggable
public static boolean log_critical_isLoggable()Determine whether any log stream is currently logging log_critical messages- Returns:
- true if a log_critical would be logged now, false otherwise.
-