summaryrefslogtreecommitdiff
path: root/lib/common/Logging.h
Commit message (Collapse)AuthorAge
* Keep a copy of the program name, in case the original goes away, whichChris Wilson2007-04-28
| | | | | causes syslog() to write nonsense for the program name. (refs #3)
* Add options to log timestamps, and a custom tag, with each message toChris Wilson2007-04-22
| | | | | | | | | the console, e.g.: 14:53:17 [bbackupd] Finished scan of local files (refs #3)
* Win32 compile fixChris Wilson2007-03-05
| | | | | (refs #3, merges [1306])
* Automatically initialise logging at startup, with a static object, to logChris Wilson2007-01-16
| | | | | | | | to console and syslog. All logging objects automatically register themselves with the global logging system. (refs #3)
* Add a new logging level, NOTICE, between INFO and WARNING (justification:Chris Wilson2007-01-15
| | | | | | | | | | we need two levels of output for LogAllFileAccess, neither of which are warnings, one is very verbose, but must not be compiled out like TRACE). Make Loggers default to logging everything. Make the global log level filter work. (refs #3)
* * Rename Loggers class to Logging, which looks nicer.Chris Wilson2006-12-16
| | | | | | | | | | * Fix type of "line" argument to loggers to int rather than std::string to match __LINE__ * Define necessary static objects * Remove global condition on logging for now (refs #3)
* Initial implementation of the logging framework.Chris Wilson2006-12-16