LWL v0.8 - Reference Manual


typedef enum lwl_option_t


[more] LWL_OPT_ADR
Write host's FQDN
[more] LWL_OPT_DATE
Write the date
[more] LWL_OPT_IP
Write host's IP address
[more] LWL_OPT_NO_FLUSH
Don't flush the file after log writing
[more] LWL_OPT_PERROR
Also write the message to stderr
[more] LWL_OPT_PID
Write the pid of the process
[more] LWL_OPT_PREFIX
Write prefix specified by LWL_TAG_PREFIX
[more] LWL_OPT_PRIORITY
Write the LWL_PRIORITY of the message
[more] LWL_OPT_TIME
Write the time
[more] LWL_OPT_USE_LOCALE
Use locale environement settings to display date and time


Documentation

lwl_option_t

This is the list of available LWL options for use with lwl_set_attributes(). The options could be XOR-ed to use more than one option at the same time.

Example: LWL_OPT_ADR | LWL_OPT_PID | LWL_OPT_DATE | LWL_OPT_TIME means you want to use all these options for each logged message.

o LWL_OPT_PERROR
Also write the message to stderr

o LWL_OPT_PID
Write the pid of the process

o LWL_OPT_DATE
Write the date

o LWL_OPT_TIME
Write the time

o LWL_OPT_IP
Write host's IP address

o LWL_OPT_ADR
Write host's FQDN

o LWL_OPT_PRIORITY
Write the LWL_PRIORITY of the message

o LWL_OPT_PREFIX
Write prefix specified by LWL_TAG_PREFIX

o LWL_OPT_NO_FLUSH
Don't flush the file after log writing

o LWL_OPT_USE_LOCALE
Use locale environement settings to display date and time

See Also:
lwl_set_attributes()

Alphabetic index


LWL Reference Manual
Last modified: Wed Jun 26 15:51:54 CEST 2002