CYCLUS
|
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <map>
Go to the source code of this file.
Classes | |
class | cyclus::Logger |
Namespaces | |
namespace | cyclus |
Macros | |
#define | CLOG(level) |
#define | LOG(level, prefix) |
#define | MLOG(level) |
Enumerations | |
enum | cyclus::LogLevel { cyclus::LEV_ERROR , cyclus::LEV_WARN , cyclus::LEV_INFO1 , cyclus::LEV_INFO2 , cyclus::LEV_INFO3 , cyclus::LEV_INFO4 , cyclus::LEV_INFO5 , cyclus::LEV_DEBUG1 , cyclus::LEV_DEBUG2 , cyclus::LEV_DEBUG3 , cyclus::LEV_DEBUG4 , cyclus::LEV_DEBUG5 } |
Code providing rudimentary logging capability for the Cyclus core.
Details outlining proper use of this logging functionality can be found at http://cyclus.github.com/devdoc/main.html
Definition in file logger.h.
#define CLOG | ( | level | ) |
#define LOG | ( | level, | |
prefix ) |
allows easy logging via the streaming operator similar to std::cout; this is the primary way to use the Logging functionality.
level | LogLevel category or type of log statement. |
prefix | A std::string value that functions as a unique identifier for the module. Prefixes longer than 6 characters will be truncated. |
#define MLOG | ( | level | ) |