Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Namespaces | Defines | Enumerations | Functions
Logger.h File Reference
#include <string>
#include <iostream>
#include <fstream>
#include <arc/Thread.h>
#include <arc/IString.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  Arc::LoggerFormat
class  Arc::LogMessage
 A class for log messages. More...
class  Arc::LogDestination
 A base class for log destinations. More...
class  Arc::LogStream
 A class for logging to ostreams. More...
class  Arc::LogFile
 A class for logging to files. More...
class  Arc::Logger
 A logger class. More...


namespace  Arc
 ARCJSDLParser The ARCJSDLParser class, derived from the JobDescriptionParser class, is primarily a job description parser for the consolidated job description language (ARCJSDL), derived from JSDL, described in the following document


#define rootLoggerMagic   (0xF6569201)
#define rootLogger   getRootLogger()
#define LOG(LGR, THR, FSTR,...)   { if ((LGR).getThreshold() >= (THR)(LGR).msg((THR), (FSTR), ...); }


enum  Arc::LogLevel {
  Arc::DEBUG = 1, Arc::VERBOSE = 2, Arc::INFO = 4, Arc::WARNING = 8,
  Arc::ERROR = 16, Arc::FATAL = 32
 Logging levels. More...
enum  Arc::LogFormat { Arc::LongFormat, Arc::ShortFormat }


std::ostream & Arc::operator<< (std::ostream &os, const LoggerFormat &format)
std::ostream & Arc::operator<< (std::ostream &os, LogLevel level)
 Printing of LogLevel values to ostreams.
LogLevel Arc::string_to_level (const std::string &str)
 Convert string to a LogLevel.
bool Arc::istring_to_level (const std::string &llStr, LogLevel &ll)
 Case-insensitive parsing of a string to a LogLevel with error response.
bool Arc::string_to_level (const std::string &str, LogLevel &ll)
 Same as istring_to_level except it is case-sensitive.
std::string Arc::level_to_string (const LogLevel &level)
 Convert LogLevel to a string.

Define Documentation

#define LOG (   LGR,
)    { if ((LGR).getThreshold() >= (THR)(LGR).msg((THR), (FSTR), ...); }

Definition at line 575 of file Logger.h.

#define rootLogger   getRootLogger()

Definition at line 573 of file Logger.h.

#define rootLoggerMagic   (0xF6569201)

Definition at line 566 of file Logger.h.