The state type provides access to logging parameters and configuration. More...
Public Member Functions | |
| tee_stream_t & | config_stream () |
| Return the tee stream to allow the user to set configuration options. | |
| std::ostream & | stream () |
| Return the log stream. | |
Static Public Member Functions | |
| static Tag & | active_tag () |
| Return a reference to the active tag. | |
| static std::string | active_tag_name () |
| Return the tag name associated with the active tag. | |
| static bool | color_output () |
Return true if ANSI color support for messages was requested. | |
| static Tag | register_tag (const char *tag) |
| Return the next tag id. | |
| static const std::unordered_map< std::string, Tag > & | tag_map () |
| Return the tag map. | |
| static std::string | tag_name (Tag id) |
| Return the tag name associated with a tag id. | |
The state type provides access to logging parameters and configuration.
This type provides access to the underlying logging parameters for configuration and information. The FleCSI logging functions provide basic logging with an interface that is similar to Google's GLOG and the Boost logging utilities.
|
static |
|
static |
Return the tag map.
| std::ostream & stream | ( | ) |
Return the log stream.
| tee_stream_t & config_stream | ( | ) |
Return the tee stream to allow the user to set configuration options.
FIXME: Need a better interface for this...
|
static |
Return the next tag id.
|
static |
Return a reference to the active tag.
|
static |
Return the tag name associated with a tag id.
|
static |
Return the tag name associated with the active tag.