HydraExpress 4.7 |
HydraExpress C++ API Reference Guide |
Product Documentation:
Documentation Home |
Delivers a single logging message to two defined output locations. More...
#include <rwsf/core/LogSplitter.h>
Inherits rwsf::LoggerImp.
Additional Inherited Members | |
Public Member Functions inherited from rwsf::LoggerImp | |
virtual void | init (const rwsf::Config &config) |
virtual void | log (rwsf::Logger::LogLevel level, const std::string &message)=0 |
virtual bool | wouldLog (rwsf::Logger::LogLevel level) |
Protected Member Functions inherited from rwsf::BodyBase | |
BodyBase (void) | |
BodyBase (const BodyBase &second) | |
virtual | ~BodyBase (void) |
BodyBase & | operator= (const BodyBase &second) |
This Logger implementation acts as a splitter, channeling the log output to two loggers at the same time. To use this logger implementation, specify ".createLogSplitter" in the loggers configuration file. Under the logger definition, the following properties must be specified:
logger1
One of two named loggers to write to. Must be defined in the configuration file.logger2
One of two named loggers to write to. Must be defined in the configuration file.Example of definition in logger configuration file, typically loggers.xml:
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.