ITK Function Reference

(V10000.1.0.60_20160308.00)
Functions
lm.h File Reference
#include <unidefs.h>
#include <tc/libtc_exports.h>
#include <tc/libtc_undef.h>

Go to the source code of this file.

Functions

TC_API int LM_disable_logging (int log_file)
 
TC_API int LM_enable_logging (int log_file)
 
TC_API int LM_enabled (int log_file)
 
TC_API int LM_exit_module (void)
 
TC_API int LM_init_module (void)
 
Log File IDs

Routines to return the id of the particular log file for subsequent routines

TC_API int LM_application_log (void)
 
TC_API int LM_administration_log (void)
 
TC_API int LM_security_log (void)
 
TC_API int LM_system_log (void)
 
TC_API int LM_install_log (void)
 
TC_API int LM_journal (void)
 

Routines to post events to the log files

enum  LM_severity_e {
  LM_INFORMATION, LM_ERROR, LM_SEVERE, LM_CRITICAL,
  LM_FATAL
}
 
enum  LM_exception_class_e { LM_SYSTEM_EXCEPTION, LM_CORE_EXCEPTION, LM_USER_EXCEPTION, LM_JOURNAL_EXCEPTION }
 
typedef enum LM_severity_e LM_severity_t
 
typedef enum LM_exception_class_e LM_exception_class_t
 
TC_API int LM_post_info (int log_file, int event, const char *parm)
 
TC_API int LM_post_event (int log_file, int event, tag_t tag, const char *parm)
 
TC_API int LM_post_journal_exception (tag_t objectId, LM_exception_class_t exceptionType, LM_severity_t exceptionSeverity, const char *userMessage)