35 #include <Base/Debug/LogFacility.hh>
48 int main(
int argc,
char *argv[])
52 cout <<
"Now setting current loglevel to: "<<ll<<endl;
65 cout <<
"Now setting log stream tofile: "<<argv[2]<<endl;
78 BLD(
"This is a debug line number:"<<3);
80 BLI(
"This is an info line");
81 BLW(
"This is a warning line");
82 BLF(
"This is a fatal error");
bool OpenLogFile(const std::string &sFileName)
void SetShowCodeInfo(bool b)
static LogFacility * Instance()
bool SetLogLevel(BIAS_LOG_LEVEL dLogLevel)
void SetAbortOnFatal(bool b)
bool GetLogStream(std::ostream &zStream)