revamped logging system to make it more clear
This commit is contained in:
parent
b8e6af28fe
commit
3b0c15ac6f
13 changed files with 144 additions and 138 deletions
|
|
@ -55,6 +55,7 @@ class Utils
|
|||
static string strtolower(string);
|
||||
static string trim(string);
|
||||
static string inttostr(int);
|
||||
static string ulongtostr(unsigned long);
|
||||
|
||||
//email-related utilities
|
||||
static string getmail(string&);
|
||||
|
|
@ -80,6 +81,7 @@ class Utils
|
|||
static string errnotostrerror(int);
|
||||
static string rfc2821_date(time_t *timestamp=NULL);
|
||||
static string gethostname();
|
||||
static void write_pid(string,pid_t);
|
||||
};
|
||||
|
||||
#endif //UTILS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue