Tor 0.5.0.0-alpha-dev
Loading...
Searching...
No Matches
log Directory Reference

lib/log: Log messages to files, syslogs, etc.

More...

Files

 escape.c
 Escape untrusted strings before sending them to the log.
 
 escape.h
 Header for escape.c.
 
 log.c
 Functions to send messages to log files or the console.
 
 log.h
 Headers for log.c.
 
 log_sys.c
 Setup and tear down the logging module.
 
 log_sys.h
 Declare subsystem object for the logging module.
 
 ratelim.c
 Summarize similar messages that would otherwise flood the logs.
 
 ratelim.h
 Summarize similar messages that would otherwise flood the logs.
 
 util_bug.c
 
 util_bug.h
 Macros to manage assertions, fatal and non-fatal.
 
 win32err.c
 Convert windows error codes to useful C strings.
 
 win32err.h
 Header for win32err.c.
 

Detailed Description

lib/log: Log messages to files, syslogs, etc.

You can think of this as the logical "midpoint" of the lib code": much of the higher-level code is higher-level because it uses the logging module, and much of the lower-level code is specifically written to avoid having to log, because the logging module depends on it.