ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
tc
lm.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
6
/* */
7
8
#ifndef LM_H
9
#define LM_H
10
11
#include <
unidefs.h
>
12
#include <tc/libtc_exports.h>
13
106
#ifdef __cplusplus
107
extern
"C"
{
108
#endif
109
139
extern
TC_API
int
LM_init_module
(
void
);
140
141
extern
TC_API
int
LM_exit_module
(
void
);
142
150
extern
TC_API
int
LM_application_log
(
void
);
151
152
extern
TC_API
int
LM_administration_log
(
void
);
153
154
extern
TC_API
int
LM_security_log
(
void
);
155
156
extern
TC_API
int
LM_system_log
(
void
);
157
158
extern
TC_API
int
LM_install_log
(
void
);
159
160
extern
TC_API
int
LM_journal
(
void
);
161
167
extern
TC_API
int
LM_enable_logging
(
168
int
log_file
169
);
170
171
extern
TC_API
int
LM_disable_logging
(
172
int
log_file
173
);
174
175
extern
TC_API
int
LM_enabled
(
176
int
log_file
177
);
178
184
extern
TC_API
int
LM_post_info
(
185
int
log_file,
186
int
event,
187
const
char
* parm
188
);
189
194
extern
TC_API
int
LM_post_event
(
195
int
log_file,
196
int
event,
197
tag_t
tag,
198
const
char
* parm
199
);
200
201
typedef
enum
LM_severity_e
{
202
LM_INFORMATION
,
203
LM_ERROR
,
204
LM_SEVERE
,
205
LM_CRITICAL
,
206
LM_FATAL
207
}
LM_severity_t
;
208
209
typedef
enum
LM_exception_class_e
{
210
LM_SYSTEM_EXCEPTION
,
211
LM_CORE_EXCEPTION
,
212
LM_USER_EXCEPTION
,
213
LM_JOURNAL_EXCEPTION
214
}
LM_exception_class_t
;
215
216
extern
TC_API
int
LM_post_journal_exception
(
217
tag_t
objectId,
218
LM_exception_class_t
exceptionType,
219
LM_severity_t
exceptionSeverity,
220
const
char
* userMessage
221
);
222
227
#ifdef __cplusplus
228
}
229
#endif
230
231
#include <tc/libtc_undef.h>
232
233
#endif