The function openlog allows one to configure a handful of process-wide
options that modify the behavior of the syslog function. These options are
pid, cons, odelay, and ndelay.
Constructors
LogPIDLog the pid with each message.
ConsoleLog on the console if errors occur while sending messages.
DelayedOpenDelay all initialization until first
syslog()call (default).ImmediateOpenInitialize the syslog system immediately.
DontWaitForChildrenThe syslog system should not attempt to wait for child process it may have created. This option is required by applications who enable
SIGCHLDthemselves.
Instances7Bounded, Enum, Eq, Read, Show, Generic, …
Bounded OptionDefined in hsyslog-5.0.2 · System.Posix.Syslog.OptionsEnum OptionDefined in hsyslog-5.0.2 · System.Posix.Syslog.OptionsEq OptionDefined in hsyslog-5.0.2 · System.Posix.Syslog.OptionsRead OptionDefined in hsyslog-5.0.2 · System.Posix.Syslog.OptionsShow OptionDefined in hsyslog-5.0.2 · System.Posix.Syslog.OptionsGeneric OptionDefined in hsyslog-5.0.2 · System.Posix.Syslog.Optionstype Rep Option = D1 ('MetaDataDefined in hsyslog-5.0.2 · System.Posix.Syslog.Options"Option"
"System.Posix.Syslog.Options"
"hsyslog-5.0.2-LavZ5H3gRaM3Eeayi295n"
'False) ((C1 ('MetaCons"LogPID"
'PrefixI 'False) U1 :+: C1 ('MetaCons"Console"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"DelayedOpen"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"ImmediateOpen"
'PrefixI 'False) U1 :+: C1 ('MetaCons"DontWaitForChildren"
'PrefixI 'False) U1)))