1 //! stdio output for Flog
3 //! @file flog_output_stdio.h
4 //! @author Nabeel Sowan (nabeel.sowan@vibes.se)
6 //! When you want flog to write to stdout or stderr
9 #ifndef FLOG_OUTPUT_STDIO_H
10 #define FLOG_OUTPUT_STDIO_H
14 #ifdef FLOG_CONFIG_OUTPUT_STDIO
16 int flog_output_stdout(FLOG_T
*log
,const FLOG_MSG_T
*msg
);
17 int flog_output_stderr(FLOG_T
*log
,const FLOG_MSG_T
*msg
);
19 FLOG_T
* create_flog_output_stdout(const char *name
, FLOG_MSG_TYPE_T accepted_msg_type
);
20 FLOG_T
* create_flog_output_stderr(const char *name
, FLOG_MSG_TYPE_T accepted_msg_type
);
22 #endif //FLOG_CONFIG_OUTPUT_STDIO
24 #endif //FLOG_OUTPUT_STDIO_H