appender_type_stream2.h
Go to the documentation of this file.
/*
*
* appender_type_stream.h
*
* Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#ifndef log4c_appender_type_stream2_h
#define log4c_appender_type_stream2_h
#include <log4c/defs.h>
#include <log4c/appender.h>
__LOG4C_BEGIN_DECLS
LOG4C_API const log4c_appender_type_t log4c_appender_type_stream2;
LOG4C_API void log4c_stream2_set_fp(log4c_appender_t* a_this, FILE *fp);
LOG4C_API FILE * log4c_stream2_get_fp(log4c_appender_t* a_this);
LOG4C_API void log4c_stream2_set_flags(log4c_appender_t* a_this, int flags);
#define LOG4C_STREAM2_UNBUFFERED 0x01
LOG4C_API int log4c_stream2_get_flags(log4c_appender_t* a_this);
__LOG4C_END_DECLS
#endif
appender.h
Implement this interface for your own strategies for printing log statements.
log4c_appender_t
struct __log4c_appender log4c_appender_t
Definition appender.h:34
log4c_appender_type_t
struct log4c_appender_type log4c_appender_type_t
log4c appender type class
log4c_stream2_set_fp
void log4c_stream2_set_fp(log4c_appender_t *a_this, FILE *fp)
Definition appender_type_stream2.c:147
log4c_stream2_get_fp
FILE * log4c_stream2_get_fp(log4c_appender_t *a_this)
Definition appender_type_stream2.c:159
log4c_stream2_set_flags
void log4c_stream2_set_flags(log4c_appender_t *a_this, int flags)
Definition appender_type_stream2.c:187
log4c_stream2_get_flags
int log4c_stream2_get_flags(log4c_appender_t *a_this)
Definition appender_type_stream2.c:173