Honeycomb  0.1
Component-Model Framework
Classes | Namespaces | Macros | Typedefs | Functions
Log.h File Reference
#include "Honey/Graph/Dep.h"
#include "Honey/Thread/Lock/Spin.h"
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.

Classes

struct  honey::log::Sink
 
struct  honey::log::BufferSink
 Captures records in a buffer. More...
 
struct  honey::log::StreamSink
 Formats record to a stream. More...
 
struct  honey::log::FileSink
 Formats record to a file stream. More...
 
class  honey::Log
 Logger. More...
 
struct  honey::Log::RecordStream
 Builds a record. More...
 

Namespaces

 honey
 Global Honeycomb namespace.
 
 honey::log
 Logger methods.
 
 honey::log::level
 Severity levels (default levels)
 

Macros

#define Log_debug   Log::inst() << log::level::debug << "[" << log::srcFilename(__FILE__) << ":" << __LINE__ << "] "
 Open a debug log record with prepended source file info. More...
 

Typedefs

typedef DepNode< void *, NameId > honey::log::Level
 Severity level. More...
 

Functions

String honey::log::format (const Level &level, const String &record)
 Format record with date and level id. More...
 
String honey::log::srcFilename (const String &path)
 Get filename from source path provided by macro FILE More...
 

Macro Definition Documentation

#define Log_debug   Log::inst() << log::level::debug << "[" << log::srcFilename(__FILE__) << ":" << __LINE__ << "] "

Open a debug log record with prepended source file info.