Files
pvAccess/pvAccessApp/utils/logger.h
Matej Sekoranja b167f78416 cleanup
2011-01-10 23:43:52 +01:00

30 lines
613 B
C++

/*
* logger.h
*
* Created on: Dec 10, 2010
* Author: Miha Vitorovic
*/
#ifndef LOGGER_H_
#define LOGGER_H_
#include <pvType.h>
namespace epics {
namespace pvAccess {
/**
* Create a logger that will write to file indicated by the <tt>fname</tt>.
* After creation you are free to use standard EPICSv3 functions from
* <tt>errlog.h</tt>.
*
* @param[in] fname The file to write to. If the file exists, it
* is opened for append.
*/
void createFileLogger( epics::pvData::String fname );
}
}
#endif /* LOGGER_H_ */