23 #define __MESSAGETEXTLENGTH__ 1024
28 #if ROOT_VERSION_CODE < ROOT_VERSION(5,99,0)
34 #define GO4MESSAGE( X ) TGo4Log::Message X;
35 #define GO4INFO(X) TGo4Log::Info X ;
36 #define GO4WARN(X) TGo4Log::Warn X ;
37 #define GO4ERROR(X) TGo4Log::Error X ;
51 class __declspec(dllimport) TGo4Log {
63 static const char*
GO4SYS();
70 static TString
subGO4SYS(
const char* subdir);
101 const char* headercomment=0,
102 Bool_t appendmode=kFALSE);
116 static const char*
Message(Int_t prio,
const char* text,...);
119 static void Debug(
const char* text,...);
122 static void Info(
const char* text,...);
125 static void Warn(
const char* text,...);
128 static void Error(
const char* text,...);
131 static void Printf(Bool_t _stdout,
const char* text);
135 static void WriteLogfile(
const char* text, Bool_t withtime=kTRUE);
static const char * GetLogname()
static TGo4Log * Instance()
static TGo4Log * fgxInstance
static const char * fgcWARN
static void WriteLogfile(const char *text, Bool_t withtime=kTRUE)
static void CloseLogfile()
static Bool_t IsOutputEnabled()
static void Warn(const char *text,...)
static const char * GetPrintfArg(Int_t type_id)
static Bool_t fgbLogfileEnabled
static const char * GetDefaultLogname()
static Bool_t fgbAutoMode
static void SetIgnoreLevel(Int_t level)
static void OutputEnable(Bool_t on=kTRUE)
static const char * fgcRIGHT
static void OpenLogfile(const char *name=0, const char *headercomment=0, Bool_t appendmode=kFALSE)
static const char * fgcDEBUG
static Bool_t fgbOutputEnabled
static int fgStdSave
redirected pipe for stdout
static void ProcessRedirection(int kind=0)
static void SetSniffer(TNamed *sniff)
static const char * fgcINFO
static const char * GO4INCPATH()
static void EnableRedirection()
static int fgStdPipe[2]
optional object to get all output via SetTitle method
static Bool_t IsLogfileEnabled()
static const char * fgcDEFAULTLOG
static void StopTracing()
static const char * Message(Int_t prio, const char *text,...)
static Int_t fgiIgnoreLevel
static TString fgxLogName
static void Printf(Bool_t _stdout, const char *text)
static void set_trace_level(int)
static Int_t GetIgnoreLevel()
static TNamed * fgSniffer
value of GO4SYS during run
static void StartTracing()
static TString subGO4SYS(const char *subdir)
static char fgcMessagetext[__MESSAGETEXTLENGTH__]
static const char * fgcLEFT
static const char * GO4SYS()
static TLogTimer * fgTimer
saved file for stdout
static void AutoEnable(Bool_t on=kTRUE)
#define __MESSAGETEXTLENGTH__
static const char * fgcERR
static void SetTracePriority(int)
static void Error(const char *text,...)
static Bool_t IsAutoEnabled()
static void Info(const char *text,...)
static void Debug(const char *text,...)
static void LogfileEnable(Bool_t on=kTRUE)