1 //! file output for Flog
3 //! @file flog_output_file.h
4 //! @author Nabeel Sowan (nabeel.sowan@vibes.se)
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
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