All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fr_log_t Struct Reference

#include <log.h>

Data Fields

bool colourise
 Prefix log messages with VT100 escape codes to change text colour. More...
 
void * cookie
 for fopencookie() More...
 
int(* cookie_write )(void *, char const *, int)
 write function More...
 
log_dst_t dst
 Log destination. More...
 
int fd
 File descriptor to write messages to. More...
 
char const * file
 Path to log file. More...
 

Detailed Description

Definition at line 68 of file log.h.

Field Documentation

bool fr_log_t::colourise

Prefix log messages with VT100 escape codes to change text colour.

Definition at line 69 of file log.h.

void* fr_log_t::cookie

for fopencookie()

Definition at line 75 of file log.h.

int(* fr_log_t::cookie_write)(void *, char const *, int)

write function

Definition at line 79 of file log.h.

log_dst_t fr_log_t::dst

Log destination.

Definition at line 72 of file log.h.

int fr_log_t::fd

File descriptor to write messages to.

Definition at line 71 of file log.h.

char const* fr_log_t::file

Path to log file.

Definition at line 73 of file log.h.


The documentation for this struct was generated from the following file: