⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logging.h

📁 GSM猫管理程序
💻 H
字号:
/*SMS Server Tools 3Copyright (C) Keijo Kasvihttp://smstools3.kekekasvi.com/Based on SMS Server Tools 2 from Stefan Fringshttp://www.meinemullemaus.de/This program is free software unless you got it under another license directlyfrom the author. You can redistribute it and/or modify it under the terms ofthe GNU General Public License as published by the Free Software Foundation.Either version 2 of the License, or (at your option) any later version.*/#ifndef LOGGING_H#define LOGGING_Hint openlogfile(char* filename,char* progname,int facility,int level);// if filename if 0, "" or "syslog": opens syslog. Level is ignored.// else: opens a log file. Facility is not used. Level specifies the verbosity (9=highest).// If the filename is a number it is interpreted as the file handle and // duplicated. The file must be already open. // Returns the file handle to the log file.void closelogfile();// closes a log file.void writelogfile0(int severity, char *progname, char *text);void writelogfile(int severity,char* progname,char* format, ...);// write to a log file. 2nd and following arguments are like in printf.#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -