E-MailRelay

Public Member Functions | Public Attributes | List of all members
G::LogOutput::Config Struct Reference

A configuration structure for G::LogOutput. More...

`#include <glogoutput.h>`

## Public Member Functions
| Config (bool enabled, bool verbose) noexcept
Config & | set_output_enabled (bool value=true) noexcept
Config & | set_summary_info (bool value=true) noexcept
Config & | set_verbose_info (bool value=true) noexcept
Config & | set_more_verbose_info (bool value=true) noexcept
Config & | set_debug (bool value=true) noexcept
Config & | set_with_level (bool value=true) noexcept
Config & | set_with_timestamp (bool value=true) noexcept
Config & | set_with_context (bool value=true) noexcept
Config & | set_strip (bool value=true) noexcept
Config & | set_quiet_stderr (bool value=true) noexcept
Config & | set_use_syslog (bool value=true) noexcept
Config & | set_allow_bad_syslog (bool value=true) noexcept
Config & | set_facility (SyslogFacility) noexcept
Config & | set_umask (Process::Umask::Mode) noexcept
Config & | set_stdout (bool value=true) noexcept

## Public Attributes
bool | m_output_enabled {false}
bool | m_summary_info {false}
bool | m_verbose_info {false}
bool | m_more_verbose_info {false}
bool | m_debug {false}
bool | m_with_level {false}
bool | m_with_timestamp {false}
bool | m_with_context {false}
bool | m_strip {false}
bool | m_quiet_stderr {false}
bool | m_use_syslog {false}
bool | m_allow_bad_syslog {false}
bool | m_stdout {false}
SyslogFacility | m_facility {SyslogFacility::User}
Process::Umask::Mode | m_umask {Process::Umask::Mode::NoChange}

## Detailed Description

A configuration structure for G::LogOutput.

Definition at line 94 of file glogoutput.h.

## Constructor & Destructor Documentation

## ◆ Config()

G::LogOutput::Config::Config | ( | bool | enabled,
|  | bool | verbose
| ) |  |
| noexcept

Definition at line 424 of file glogoutput.cpp.

## Member Function Documentation

## ◆ set_allow_bad_syslog()

G::LogOutput::Config & G::LogOutput::Config::set_allow_bad_syslog | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 318 of file glogoutput.h.

## ◆ set_debug()

G::LogOutput::Config & G::LogOutput::Config::set_debug | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 311 of file glogoutput.h.

## ◆ set_facility()

G::LogOutput::Config & G::LogOutput::Config::set_facility | ( | SyslogFacility | facility | ) |
| inline noexcept

Definition at line 319 of file glogoutput.h.

## ◆ set_more_verbose_info()

G::LogOutput::Config & G::LogOutput::Config::set_more_verbose_info | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 310 of file glogoutput.h.

## ◆ set_output_enabled()

G::LogOutput::Config & G::LogOutput::Config::set_output_enabled | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 307 of file glogoutput.h.

## ◆ set_quiet_stderr()

G::LogOutput::Config & G::LogOutput::Config::set_quiet_stderr | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 316 of file glogoutput.h.

## ◆ set_stdout()

G::LogOutput::Config & G::LogOutput::Config::set_stdout | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 321 of file glogoutput.h.

## ◆ set_strip()

G::LogOutput::Config & G::LogOutput::Config::set_strip | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 315 of file glogoutput.h.

## ◆ set_summary_info()

G::LogOutput::Config & G::LogOutput::Config::set_summary_info | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 308 of file glogoutput.h.

## ◆ set_umask()

G::LogOutput::Config & G::LogOutput::Config::set_umask | ( | Process::Umask::Mode | umask | ) |
| inline noexcept

Definition at line 320 of file glogoutput.h.

## ◆ set_use_syslog()

G::LogOutput::Config & G::LogOutput::Config::set_use_syslog | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 317 of file glogoutput.h.

## ◆ set_verbose_info()

G::LogOutput::Config & G::LogOutput::Config::set_verbose_info | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 309 of file glogoutput.h.

## ◆ set_with_context()

G::LogOutput::Config & G::LogOutput::Config::set_with_context | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 314 of file glogoutput.h.

## ◆ set_with_level()

G::LogOutput::Config & G::LogOutput::Config::set_with_level | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 312 of file glogoutput.h.

## ◆ set_with_timestamp()

G::LogOutput::Config & G::LogOutput::Config::set_with_timestamp | ( | bool | value = `true` | ) |
| inline noexcept

Definition at line 313 of file glogoutput.h.

## Member Data Documentation

## ◆ m_allow_bad_syslog

bool G::LogOutput::Config::m_allow_bad_syslog {false}

Definition at line 107 of file glogoutput.h.

## ◆ m_debug

bool G::LogOutput::Config::m_debug {false}

Definition at line 100 of file glogoutput.h.

## ◆ m_facility

SyslogFacility G::LogOutput::Config::m_facility {SyslogFacility::User}

Definition at line 109 of file glogoutput.h.

## ◆ m_more_verbose_info

bool G::LogOutput::Config::m_more_verbose_info {false}

Definition at line 99 of file glogoutput.h.

## ◆ m_output_enabled

bool G::LogOutput::Config::m_output_enabled {false}

Definition at line 96 of file glogoutput.h.

## ◆ m_quiet_stderr

bool G::LogOutput::Config::m_quiet_stderr {false}

Definition at line 105 of file glogoutput.h.

## ◆ m_stdout

bool G::LogOutput::Config::m_stdout {false}

Definition at line 108 of file glogoutput.h.

## ◆ m_strip

bool G::LogOutput::Config::m_strip {false}

Definition at line 104 of file glogoutput.h.

## ◆ m_summary_info

bool G::LogOutput::Config::m_summary_info {false}

Definition at line 97 of file glogoutput.h.

## ◆ m_umask

Process::Umask::Mode G::LogOutput::Config::m_umask {Process::Umask::Mode::NoChange}

Definition at line 110 of file glogoutput.h.

## ◆ m_use_syslog

bool G::LogOutput::Config::m_use_syslog {false}

Definition at line 106 of file glogoutput.h.

## ◆ m_verbose_info

bool G::LogOutput::Config::m_verbose_info {false}

Definition at line 98 of file glogoutput.h.

## ◆ m_with_context

bool G::LogOutput::Config::m_with_context {false}

Definition at line 103 of file glogoutput.h.

## ◆ m_with_level

bool G::LogOutput::Config::m_with_level {false}

Definition at line 101 of file glogoutput.h.

## ◆ m_with_timestamp

bool G::LogOutput::Config::m_with_timestamp {false}

Definition at line 102 of file glogoutput.h.

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

- /tmp/slackdce/slackrepo.HKsbdz/build_emailrelay/emailrelay-2.6/src/glib/glogoutput.h
- /tmp/slackdce/slackrepo.HKsbdz/build_emailrelay/emailrelay-2.6/src/glib/glogoutput.cpp