Logger.h File Reference

Contains the definition of Logger class and related functions. More...

#include "LogInfo.h"
#include "ILogPrinter.h"
#include "LogLevel.h"
#include "LogFilter.h"
#include "ILogManager.h"
#include "RegistryKey.h"
#include "SimpleTextLogPrinter.h"
#include "DebugOutputLogManager.h"
#include "XMLLogPrinter.h"
#include "FileLogManager.h"
#include <vector>
#include <set>
#include <map>
#include <boost/any.hpp>
#include <algorithm>
#include <boost/foreach.hpp>
#include <boost/algorithm/string/erase.hpp>
#include "boost/date_time/posix_time/posix_time.hpp"
#include <exception>

Go to the source code of this file.

Classes

class  Logger
 Central object of the logging system. More...

Defines

#define LOGGING_KEYNAME_DEFAULT_PROCESS   _T("DefaultProcess")
#define LOGGING_KEYNAME_SOFTWARE   _T("Software")
#define LOGGING_KEYNAME_NVIDIA_CORPORATION   _T("NVIDIA Corporation")
#define LOGGING_KEYNAME_LOGGING   _T("Logging")
#define LOGGING_KEYNAME_PROCESSES   _T("Processes")
#define LOGGING_KEYNAME_DEFINITIONS   _T("Definitions")
#define LOGGING_KEYNAME_LOGCHANNELS   _T("LogChannels")
#define LOGGING_KEYNAME_LOGPRINTERS   _T("LogPrinters")
#define LOGGING_KEYNAME_LOGMANAGERS   _T("LogManagers")
#define LOGGING_KEYNAME_LOGFILTERS   _T("LogFilters")
#define LOGGING_KEYNAME_LOGPRINTER   _T("LogPrinter")
#define LOGGING_KEYNAME_LOGFILTER   _T("LogFilter")
#define LOGGING_KEYNAME_CLASSNAME   _T("ClassName")
#define LOGGING_SYSTEM_LOG(message)


Detailed Description

Contains the definition of Logger class and related functions.

Author:
Bartosz Janiak
Copyright © 2009 NVIDIA Corporation. All rights reserved.

NVIDIA Corporation and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related documentation without express license agreement from NVIDIA Corporation is strictly prohibited.

Definition in file Logger.h.


Define Documentation

#define LOGGING_SYSTEM_LOG ( message   ) 

Value:

{                                                                                                       \
    Log(LogInfo(LogLevel_System, std::tstring(_T("system")), _T(__FUNCTION__), _T(__FILE__), __LINE__), \
    MakeChainLoggable(MakeEmptyChain() + boost::posix_time::second_clock::local_time() + _T(": ") + message));                                                     \
}

Definition at line 53 of file Logger.h.


Generated on Thu Sep 17 15:05:17 2009 for Logging by  doxygen 1.5.8