The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Fields
fr_log_s Struct Reference

#include <log.h>

+ Collaboration diagram for fr_log_s:

Data Fields

bool colourise
 Prefix log messages with VT100 escape codes to change text colour. More...
 
void * cookie
 for fopencookie() More...
 
ssize_t(* cookie_write )(void *, char const *, size_t)
 write function More...
 
bool dates_utc
 Whether timestamps should be UTC or local timezone. More...
 
fr_log_dst_t dst
 Log destination. More...
 
int fd
 File descriptor to write messages to. More...
 
char const * file
 Path to log file. More...
 
FILE * handle
 Path to log file. More...
 
bool line_number
 Log src file and line number. More...
 
fr_log_tparent
 Log destination this was cloned from. More...
 
bool print_level
 sometimes we don't want log levels printed More...
 
bool suppress_secrets
 suppress secrets when printing to this destination More...
 
fr_log_timestamp_t timestamp
 Prefix log messages with timestamps. More...
 
void * uctx
 User data associated with the fr_log_t. More...
 

Detailed Description

Definition at line 96 of file log.h.

Field Documentation

◆ colourise

bool fr_log_s::colourise

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

Definition at line 101 of file log.h.

◆ cookie

void* fr_log_s::cookie

for fopencookie()

Definition at line 115 of file log.h.

◆ cookie_write

ssize_t(* fr_log_s::cookie_write) (void *, char const *, size_t)

write function

Definition at line 118 of file log.h.

◆ dates_utc

bool fr_log_s::dates_utc

Whether timestamps should be UTC or local timezone.

Definition at line 104 of file log.h.

◆ dst

fr_log_dst_t fr_log_s::dst

Log destination.

Definition at line 97 of file log.h.

◆ fd

int fr_log_s::fd

File descriptor to write messages to.

Definition at line 112 of file log.h.

◆ file

char const* fr_log_s::file

Path to log file.

Definition at line 113 of file log.h.

◆ handle

FILE* fr_log_s::handle

Path to log file.

Definition at line 116 of file log.h.

◆ line_number

bool fr_log_s::line_number

Log src file and line number.

Definition at line 99 of file log.h.

◆ parent

fr_log_t* fr_log_s::parent

Log destination this was cloned from.

Definition at line 121 of file log.h.

◆ print_level

bool fr_log_s::print_level

sometimes we don't want log levels printed

Definition at line 106 of file log.h.

◆ suppress_secrets

bool fr_log_s::suppress_secrets

suppress secrets when printing to this destination

Definition at line 108 of file log.h.

◆ timestamp

fr_log_timestamp_t fr_log_s::timestamp

Prefix log messages with timestamps.

Definition at line 110 of file log.h.

◆ uctx

void* fr_log_s::uctx

User data associated with the fr_log_t.

Definition at line 119 of file log.h.


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