| 19 |
|
|
| 20 |
#include <stddef.h> |
#include <stddef.h> |
| 21 |
|
|
| 22 |
extern int log_begin(char *file_log_std, char *file_log_err); |
extern int log_begin(char *common_log_file, char *error_log_file); |
| 23 |
|
|
| 24 |
extern void log_end(); |
extern void log_end(); |
| 25 |
|
|
| 26 |
extern int log_head(char *buf, size_t len); |
extern int log_head(char *buf, size_t len); |
| 27 |
|
|
| 28 |
extern int log_std(const char *format, ...); |
extern int log_common(const char *format, ...); |
| 29 |
|
|
| 30 |
extern int log_error(const char *format, ...); |
extern int log_error(const char *format, ...); |
| 31 |
|
|
| 32 |
extern int log_std_redirect(int fd); |
extern int log_common_redir(int fd); |
| 33 |
|
|
| 34 |
extern int log_err_redirect(int fd); |
extern int log_error_redir(int fd); |
| 35 |
|
|
| 36 |
#endif //_LOG_H_ |
#endif //_LOG_H_ |