35#ifndef __STUMPLESS_TARGET_STREAM_H
36# define __STUMPLESS_TARGET_STREAM_H
39# include <stumpless/config.h>
#define STUMPLESS_PUBLIC_FUNCTION
Marks functions that are provided for use by the library.
定义 config.h:31
struct stumpless_target * stumpless_open_stream_target(const char *name, FILE *stream)
Opens a stream target for the given stream.
struct stumpless_target * stumpless_open_stdout_target(const char *name)
Opens a stream target for the stdout stream.
struct stumpless_target * stumpless_open_stderr_target(const char *name)
Opens a stream target for the stderr stream.
void stumpless_close_stream_target(const struct stumpless_target *target)
Closes a stream target.
A target that log entries can be sent to.
定义 target.h:140
char * name
The name of this target.
定义 target.h:157
General types and functions for working with all targets.