HydraExpress™ C++ API Reference Guide

Product Documentation:
   HydraExpress C++
Documentation Home
List of all members
rwsf::LogFileWriter Class Reference

Writes logging messages to a file. More...

#include <rwsf/core/LogFileWriter.h>

Inheritance diagram for rwsf::LogFileWriter:

Detailed Description

This Logger implementation writes to a file. To use it, you must specify ".createFileLogger" in the logger configuration file. Under the logger definition, the following properties must be specified:

Example definition in the logger configuration file, typically loggers.xml:

<logger name="rwsf.agent.logfile" class="rwsf_core.createFileLogger">
<property name="filename" value="${RWSF_HOME}/logs/agent.log"/>
<property name="formatter" value="rwsf_core.createLogTimeFormatter"/>
<property name="mode" value="overwrite"/>

Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is registered trademark of Rogue Wave Software, Inc. in the United States and other countries, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.