00001 #ifndef OF_LOGGING_IDL
00002 #define OF_LOGGING_IDL
00003
00004 #include <DsLogAdmin.idl>
00005
00011 #pragma prefix "prismt.com/cos/CosLogging"
00012
00013 module LogExtensions
00014 {
00015
00016
00017 const short Info = 0;
00018 const short Debug = 1;
00019 const short Warning = 2;
00020 const short Error = 3;
00021 const short Fatal = 4;
00022
00023
00024
00036
00037 struct LogInfo
00038 {
00039 string category;
00040 long priority;
00041 string message;
00042 string details;
00043 };
00044
00045
00049 interface Logging
00050 {
00058 void log (in LogInfo info);
00059 };
00060
00061 };
00062
00063 #endif