Set package:rio
Set. Import as:
import qualified RIO.Set as Set
This module does not export any partial or unchecked functions. For
those, see
RIO.Set.Partial and
RIO.Set.Unchecked
ANSI color codes for accents in the log output. Accent colors are
indexed by
Int.
Default:
const "\ESC[92m" -- Bright green, for all indicies
Set format method for messages
Default:
id
Set the minimum log level. Messages below this level will not be
printed.
Default: in verbose mode,
LevelDebug. Otherwise,
LevelInfo.
ANSI color codes for secondary content in the log output.
Default: "\ESC[90m" -- Bright black (gray)
Do we treat output as a terminal. If
True, we will enable
sticky logging functionality.
Default: checks if the
Handle provided to
logOptionsHandle is a terminal with
hIsTerminalDevice.
Use ANSI color codes in the log output.
Default:
True if in verbose mode
and the
Handle
is a terminal device.
Use code location in the log output.
Default:
True if in verbose mode,
False otherwise.
Include the time when printing log messages.
Default:
True in debug mode,
False otherwise.
Use the verbose format for printing log messages.
Default: follows the value of the verbose flag.
Refer to
setLogVerboseFormat. This modifier allows to alter the
verbose format value dynamically at runtime.
Default: follows the value of the verbose flag.
sets creates an
ASetter from an ordinary function. (The
only thing it does is wrapping and unwrapping
Identity.)
Set the child process's group ID with the POSIX
setgid
syscall, does nothing on non-POSIX. See
child_group.
Default: False
Set the child process's user ID with the POSIX
setuid
syscall, does nothing on non-POSIX. See
child_user.
Default: False
Should we close all file descriptors besides stdin, stdout, and
stderr? See
close_fds for more information.
Default: False
Should we create a new process group?
Default: False
Delegate handling of Ctrl-C to the child. For more information, see
delegate_ctlc.
Default: False
Set a new session with the POSIX
setsid syscall, does nothing
on non-POSIX. See
new_session.
Default: False