/media/disk/disc/these/mine/meshseqsegenv/MSSEnv/lib/liblog/src/log.h File Reference

the log library let the developer generate log on cerr stream and/or file(s). More...

#include <iostream>
#include <string>
#include <fstream>
#include <ctime>

Include dependency graph for log.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  LogNS
namespace  Log

Data Structures

class  LogNS::Log

Typedefs

typedef void(* LogNS::cfunction )()
 this typedef describe the function pointer type used in the loglib.

Enumerations

enum  severity {
  info, low, high, critic,
  none
}
 level of log. More...

Variables

const int LogNS::CERR = 1
const int LogNS::OUTFILE = 2
const std::string LogNS::black = "\033[30m"
const std::string LogNS::red = "\033[31m"
const std::string LogNS::green = "\033[32m"
const std::string LogNS::brown = "\033[33m"
const std::string LogNS::blue = "\033[34m"
const std::string LogNS::magenta = "\033[35m"
const std::string LogNS::cyan = "\033[36m"
const std::string LogNS::white = "\033[37m"


Detailed Description

the log library let the developer generate log on cerr stream and/or file(s).

Author:
Romain Arcila Used the Log::logger() to get the singleton.
Bug:
no "outside" bugs known
Todo:
name of the file to be stored?
Todo:
log_exit intern to log_class ?

Generated on Fri Jan 16 13:00:04 2009 by  doxygen 1.5.5