revamped logging system to make it more clear

This commit is contained in:
ps 2011-01-08 01:29:17 +00:00
parent b8e6af28fe
commit 3b0c15ac6f
13 changed files with 144 additions and 138 deletions

View file

@ -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