00001 #include "TxUcmlog.h" 00002 00003 //_________________________________________________________________ 00004 TXUcmLog::TXUcmLog(){} 00005 00006 // Logging options other than the defaults 00007 //_________________________________________________________________ 00008 TXUcmLog *TXUcmLog::openlog(const char* ident,int logopt, EFacility facility) 00009 { 00010 return new TXUcmLog(); 00011 } 00012 //_________________________________________________________________ 00013 TXUcmLog *TXUcmLog::openlog(const char* ident,int logopt) 00014 { 00015 return new TXUcmLog(); 00016 } 00017 00018 //_________________________________________________________________ 00019 TXUcmLog *TXUcmLog::openlog(const char* ident) 00020 { 00021 return new TXUcmLog(); 00022 } 00023 00024 //_________________________________________________________________ 00025 // Generate and Send the ucm record, 00026 // the optional attributes, and the optional user's message 00027 void TXUcmLog::ucmlog(unsigned int pripority, const char*message) 00028 { } 00029 00030 //_________________________________________________________________ 00031 // Generate and Send the record that may contains the attributes only 00032 void TXUcmLog::ucmlog(const char*message) 00033 { } 00034 00035 //_________________________________________________________________ 00036 // Generates and Send the ucm record that contains 00037 // Begin/End tag, the optional attributes and optional user's message 00038 void TXUcmLog::ucmlogevent(EStage stage, const char*message) 00039 { } 00040 00041 //_________________________________________________________________ 00042 // send the message that contains the attributes and tags only 00043 void TXUcmLog::ucmlogmessage(const char*message) 00044 { } 00045 00046 //_________________________________________________________________ 00047 // send "Job finished" record and close the ucm systen. 00048 int TXUcmLog::closelog() 00049 { return 0; } 00050 00051 //_________________________________________________________________ 00052 // register the task with the ID provided and make it current 00053 void TXUcmLog::openTask(unsigned int brokerTaskID) 00054 { } 00055 00056 //_________________________________________________________________ 00057 // register the job of the current task the ID provided 00058 void TXUcmLog::openJob(unsigned int brokerJobID) 00059 { } 00060 00061 //_________________________________________________________________ 00062 // register the current task 00063 void TXUcmLog::openTask() 00064 { } 00065 00066 //_________________________________________________________________ 00067 // register the current job 00068 void TXUcmLog::openJob() 00069 { } 00070 00071 //_________________________________________________________________ 00072 void TXUcmLog::setlogmask(unsigned int logmask) 00073 { } 00074 //_________________________________________________________________ 00075 // set the pair of the attribute : value 00076 void TXUcmLog::setAttribute(const char *key, const char * value) 00077 { } 00078 00079 //_________________________________________________________________ 00080 // set the current task ID 00081 void TXUcmLog::setTaskId(unsigned int brokerTaskID) 00082 { } 00083 00084 //_________________________________________________________________ 00085 // set the current job ID 00086 void TXUcmLog::setJobId(unsigned int brokerJobID) 00087 {} 00088 00089 //_________________________________________________________________ 00090 // set the current event ID 00091 void TXUcmLog::setEventId(unsigned int taskId) 00092 { } 00093 00094 //_________________________________________________________________ 00095 // return the attribute value by the attribute key 00096 const char *TXUcmLog::getAttribute(const char *key) const 00097 { 00098 return 0; 00099 } 00100 00101 //_________________________________________________________________ 00102 // return the attribute value by the attribute index 00103 const char *TXUcmLog::getAttribute(int attributeIndex) const 00104 { 00105 return 0; 00106 } 00107 00108 00109 //_________________________________________________________________ 00110 // return the number of the different attributes; 00111 int TXUcmLog::getNumberofAttributes() const 00112 {return 0;} 00113 00114 //_________________________________________________________________ 00115 // Reset the "key" attribute 00116 void TXUcmLog::resetAttribute(const char *key) 00117 { } 00118 00119 00120 //_________________________________________________________________ 00121 // Reset all attributes (clean up the "known" attribute list) 00122 void TXUcmLog::resetAttributes() 00123 { } 00124 00125 //_________________________________________________________________ 00126 unsigned long TXUcmLog::getTaskId() const 00127 {return 0;} 00128 //_________________________________________________________________ 00129 unsigned long TXUcmLog::getJobId() const 00130 {return 0;} 00131 //_________________________________________________________________ 00132 unsigned long TXUcmLog::getEventId() const 00133 {return 0;} 00134 //_________________________________________________________________ 00135 bool TXUcmLog::isTaskOpen() const 00136 {return false;} 00137 //_________________________________________________________________ 00138 bool TXUcmLog::isJobOpen() const 00139 {return false;}
1.5.9