libsir 2.2.5
Standard Incident Reporter
Loading...
Searching...
No Matches
defaults.h
Go to the documentation of this file.
1
37#ifndef _SIR_DEFAULTS_H_INCLUDED
38# define _SIR_DEFAULTS_H_INCLUDED
39
40# include "sir/types.h"
41
66
78
90
102
115
128 = SIRO_MSGONLY;
129
141 = SIRL_ALL;
142
153
166
179
192
205
218
231
244
257
260#endif /* !_SIR_DEFAULTS_H_INCLUDED */
static const sir_levels sir_stderr_def_lvls
Default levels for stderr.
Definition defaults.h:89
static const sir_levels sir_file_def_lvls
Default levels for log files.
Definition defaults.h:141
static const sir_textstyle sir_lvl_debug_def_style
Default sir_textstyle for SIRL_DEBUG.
Definition defaults.h:252
static const sir_levels sir_stdout_def_lvls
Default levels for stdout.
Definition defaults.h:65
static const sir_textstyle sir_lvl_error_def_style
Default sir_textstyle for SIRL_ERROR.
Definition defaults.h:200
static const sir_options sir_stdout_def_opts
Default options for stdout.
Definition defaults.h:77
static const sir_options sir_stderr_def_opts
Default options for stderr.
Definition defaults.h:101
static const sir_options sir_syslog_def_opts
Default options for the system logger.
Definition defaults.h:128
static const sir_levels sir_syslog_def_lvls
Default levels for the system logger.
Definition defaults.h:113
static const sir_options sir_file_def_opts
Default options for log files.
Definition defaults.h:152
static const sir_textstyle sir_lvl_info_def_style
Default sir_textstyle for SIRL_INFO.
Definition defaults.h:239
static const sir_textstyle sir_lvl_crit_def_style
Default sir_textstyle for SIRL_CRIT.
Definition defaults.h:187
static const sir_textstyle sir_lvl_emerg_def_style
Default sir_textstyle for SIRL_EMERG.
Definition defaults.h:161
static const sir_textstyle sir_lvl_warn_def_style
Default sir_textstyle for SIRL_WARN.
Definition defaults.h:213
static const sir_textstyle sir_lvl_notice_def_style
Default sir_textstyle for SIRL_NOTICE.
Definition defaults.h:226
static const sir_textstyle sir_lvl_alert_def_style
Default sir_textstyle for SIRL_ALERT.
Definition defaults.h:174
#define SIRO_NOTID
Exclude thread ID/name.
Definition types.h:87
#define SIRL_EMERG
Nuclear war, Armageddon, etc.
Definition types.h:59
#define SIRL_ERROR
Errors.
Definition types.h:62
#define SIRO_ALL
Include all formatting and functionality.
Definition types.h:80
uint16_t sir_levels
sir_level bitmask type.
Definition types.h:74
#define SIRL_ALERT
Action required ASAP.
Definition types.h:60
#define SIRL_WARN
Warnings that could likely be ignored.
Definition types.h:63
#define SIRL_INFO
Informational messages.
Definition types.h:65
#define SIRL_DEBUG
Debugging/diagnostic output.
Definition types.h:66
#define SIRO_NOTIME
Exclude time stamps (implies SIRO_NOMSEC).
Definition types.h:81
#define SIRL_ALL
Include all logging levels.
Definition types.h:67
#define SIRL_CRIT
Critical errors.
Definition types.h:61
#define SIRL_NOTICE
Normal but significant.
Definition types.h:64
#define SIRO_NOHOST
Exclude local hostname.
Definition types.h:83
uint32_t sir_options
sir_option bitmask type.
Definition types.h:96
#define SIRO_NOPID
Exclude process ID.
Definition types.h:86
#define SIRO_MSGONLY
Sets all other options except SIRO_NOHDR.
Definition types.h:89
@ SIRTA_NORMAL
Normal text.
Definition types.h:108
@ SIRTA_BOLD
Bold text.
Definition types.h:109
@ SIRTC_BYELLOW
Bright yellow.
Definition types.h:129
@ SIRTC_CYAN
Cyan.
Definition types.h:124
@ SIRTC_YELLOW
Yellow.
Definition types.h:121
@ SIRTC_DEFAULT
Represents the default color.
Definition types.h:137
@ SIRTC_BLACK
Black.
Definition types.h:118
@ SIRTC_WHITE
White.
Definition types.h:133
@ SIRTC_RED
Red.
Definition types.h:119
@ SIRTC_DGRAY
Dark gray.
Definition types.h:126
Container for all the information associated with the appearance of text in the context of stdio.
Definition types.h:169