Prefix all config options with FLOG_CONFIG_
[flog.git] / flog_output_file.h
blob2f4da4bed0869f95146ae473493af165d1f9712a
1 //! file output for Flog
3 //! @file flog_output_file.h
4 //! @author Nabeel Sowan (nabeel.sowan@vibes.se)
5 //!
6 //! When you want flog to write to a file
7 //! Choose logfile name by setting data to string
10 #ifndef FLOG_OUTPUT_FILE_H
11 #define FLOG_OUTPUT_FILE_H
13 #include "flog.h"
15 #ifdef FLOG_CONFIG_OUTPUT_FILE
17 int flog_output_file(FLOG_T *log,const FLOG_MSG_T *msg);
18 FLOG_T * create_flog_output_file(const char *name, FLOG_MSG_TYPE_T accepted_msg_type, const char *filename);
19 void destroy_flog_output_file(FLOG_T *p);
21 #endif //FLOG_CONFIG_OUTPUT_FILE
23 #endif //FLOG_OUTPUT_FILE_H