/users/dtb26/GITROOT/vetsim/vs-core/include/logger.h File Reference

A cascading priorities logging tool. This object is thread-safe, it uses memory on the free store, so terminate() must be called. We now support a log level, which dictates which logs actually get written at all. The log level is set much like bind; that is, it cascades so setting log_level "warn" will write out only log entries with a priority of "warn", "error", and "fatal". More...

#include <fstream>
#include <string>
#include "boost/filesystem.hpp"
#include "boost/interprocess/sync/file_lock.hpp"
#include "boost/interprocess/sync/scoped_lock.hpp"
#include <ctime>

Go to the source code of this file.

Namespaces

namespace  iplatypus

Classes

class  iplatypus::logger
 A cascading priorities logging tool. This object is thread-safe, it uses memory on the free store, so terminate() must be called. We now support a log level, which dictates which logs actually get written at all. The log level is set much like bind; that is, it cascades so setting log_level "warn" will write out only log entries with a priority of "warn", "error", and "fatal". More...

Defines

#define NULLPTR   0

Variables

const unsigned int iplatypus::LOGGER_MAX_FLAGS = 5


Detailed Description

A cascading priorities logging tool. This object is thread-safe, it uses memory on the free store, so terminate() must be called. We now support a log level, which dictates which logs actually get written at all. The log level is set much like bind; that is, it cascades so setting log_level "warn" will write out only log entries with a priority of "warn", "error", and "fatal".


Define Documentation

#define NULLPTR   0


Generated on Wed Nov 14 12:01:02 2012 for VetSim Applications by  doxygen 1.4.7