--- lbbs/include/log.h 2025/05/05 14:27:57 1.4 +++ lbbs/include/log.h 2025/06/04 13:42:53 1.6 @@ -1,16 +1,15 @@ /*************************************************************************** log.h - description ------------------- - begin : Wed Mar 16 2004 - copyright : (C) 2005 by Leaflet - email : leaflet@leafok.com + Copyright : (C) 2004-2025 by Leaflet + Email : leaflet@leafok.com ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * + * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ @@ -20,18 +19,18 @@ #include -extern int log_begin(char *file_log_std, char *file_log_err); +extern int log_begin(char *common_log_file, char *error_log_file); extern void log_end(); extern int log_head(char *buf, size_t len); -extern int log_std(const char *format, ...); +extern int log_common(const char *format, ...); extern int log_error(const char *format, ...); -extern int log_std_redirect(int fd); +extern int log_common_redir(int fd); -extern int log_err_redirect(int fd); +extern int log_error_redir(int fd); #endif //_LOG_H_