Belle II Software  release-08-01-10
LogFile Struct Reference
Collaboration diagram for LogFile:

Public Types

enum  Priority {
  UNKNOWN = 0 ,
  DEBUG ,
  INFO ,
  NOTICE ,
  WARNING ,
  ERROR ,
  FATAL
}
 

Static Public Member Functions

static Priority getPriority (const std::string &str)
 
static void open (const std::string &filename, Priority priority=UNKNOWN)
 
static void open ()
 
static void close ()
 
static void debug (const std::string &msg,...)
 
static void info (const std::string &msg,...)
 
static void notice (const std::string &msg,...)
 
static void warning (const std::string &msg,...)
 
static void error (const std::string &msg,...)
 
static void fatal (const std::string &msg,...)
 
static void put (Priority priority, const std::string &msg,...)
 
static void setStdErr (bool stdErr)
 

Static Private Member Functions

static int put_impl (const std::string &msg, Priority priority, va_list ap)
 

Static Private Attributes

static bool g_stderr = true
 
static bool g_opened = false
 
static std::string g_filepath
 
static std::string g_linkpath
 
static std::ofstream g_stream
 
static unsigned int g_filesize = 0
 
static Mutex g_mutex
 
static Priority g_threshold
 
static std::string g_filename
 
static Date g_date
 

Detailed Description

Definition at line 25 of file LogFile.h.


The documentation for this struct was generated from the following files: