acslog.idl
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
#ifndef _ACS_LOG_IDL
00023
#define _ACS_LOG_IDL
00024
00025
#include <acscommon.idl>
00026
00027
#include "acserr.idl"
00028
00029
#pragma prefix "alma"
00030
00031
00032 module ACSLog {
00033
00034
00035
00036
00037
00041 struct NVPair {
00042 string name;
00043 string value;
00044 };
00045
00049 typedef sequence<NVPair>
NVPairSeq;
00050
00054 enum Priorities {
00055
ACS_LOG_TRACE,
00056
ACS_LOG_DEBUG,
00057
ACS_LOG_INFO,
00058
ACS_LOG_NOTICE,
00059
ACS_LOG_WARNING,
00060
ACS_LOG_ERROR,
00061
ACS_LOG_CRITICAL,
00062
ACS_LOG_ALERT,
00063
ACS_LOG_EMERGENCY
00064 };
00065
00066 typedef string
XMLstring;
00067
00071 struct RTContext {
00073 string thread;
00075 string process;
00077 string host;
00079 string addContext;
00081 string sourceObject;
00082
00083
00084
00085
00086 };
00087
00091 struct SourceInfo {
00093 string file;
00095 string routine;
00097 unsigned long line;
00098 };
00099
00100 interface
LogSvc {
00101
00102
00103
00104
00105
00106
00112
void logTrace(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00113
00114
00120
void logDebug(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00121
00127
void logInfo(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00128
00134
void logNotice(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00135
00141
void logWarning(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00142
00146
void logError(in
ACSErr::ErrorTrace c) raises (
ACSErr::ACSException);
00147
00151
void logErrorWithPriority(in
ACSErr::ErrorTrace c, in
Priorities p) raises (
ACSErr::ACSException);
00152
00158
void logWithPriority(in
Priorities p, in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data, in string audience, in string array, in string antenna) raises (
ACSErr::ACSException);
00159
00165
void logWithAudience(in
Priorities p, in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in string audience, in string array, in string antenna) raises (
ACSErr::ACSException);
00166
00172
void logCritical(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00173
00179
void logAlert(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00180
00186
void logEmergency(in
acscommon::TimeStamp time, in string msg, in
RTContext rtCont, in
SourceInfo srcInfo, in
NVPairSeq data) raises (
ACSErr::ACSException);
00187
00191
void logXML(in
XMLstring xml) raises (
ACSErr::ACSException);
00192
00193
00194 };
00195
00196 };
00197
00198
#endif
Generated on Thu Apr 30 02:26:27 2009 for ACS IDL interfaces by
1.3.8