Data Fields | |
| struct logfile_t * | next | 
| char * | filename | 
| int | fd | 
| int | seems_dead | 
| int | needs_close | 
| int | is_temporary | 
| int | is_syslog | 
| log_callback | callback | 
| log_severity_list_t * | severities | 
struct logfile_t* logfile_t::next [read]           | 
        
Next logfile_t in the linked list.
Referenced by add_callback_log(), add_stream_log_impl(), add_syslog_log(), change_callback_log_severity(), close_temp_logs(), delete_log(), get_min_log_level(), logs_free_all(), logv(), mark_logs_temp(), rollback_log_changes(), and switch_logs_debug().
| char* logfile_t::filename | 
Filename to open.
Referenced by add_callback_log(), add_stream_log_impl(), add_syslog_log(), and log_free().
| int logfile_t::fd | 
fd to receive log messages, or -1 for none.
Referenced by add_callback_log(), add_stream_log_impl(), add_syslog_log(), close_log(), log_tor_version(), and logv().
Boolean: true if the stream seems to be kaput.
Referenced by logv().
Boolean: true if the stream gets closed on shutdown.
Referenced by add_file_log(), close_log(), and log_tor_version().
Boolean: close after initializing logging subsystem.
Referenced by add_temp_log(), log_tor_version(), mark_logs_temp(), and rollback_log_changes().
Boolean: send messages to syslog.
Referenced by add_syslog_log(), close_log(), and logv().
If not NULL, send messages to this function.
Referenced by add_callback_log(), change_callback_log_severity(), and logv().
Which severity of messages should we log for each log domain?
Referenced by add_callback_log(), add_stream_log_impl(), add_syslog_log(), change_callback_log_severity(), get_min_log_level(), log_free(), logv(), and switch_logs_debug().
 1.5.6