class LogSettingsBuilder
Defined at line 78 of file ../../sdk/lib/syslog/cpp/log_settings.h
Builder class that allows building log settings,
then setting them.
Public Methods
LogSettingsBuilder & WithMinLogSeverity (fuchsia_logging::RawLogSeverity min_log_level)
Sets the default log severity. If not explicitly set,
this defaults to INFO, or to the value specified by Archivist.
Defined at line 169 of file ../../sdk/lib/syslog/cpp/host/logging_backend.cc
LogSettingsBuilder & WithTags (const std::initializer_list<std::string> & tags)
Sets the tags that are implicitly logged with every message.
Defined at line 180 of file ../../sdk/lib/syslog/cpp/host/logging_backend.cc
LogSettingsBuilder & WithLogFile (const std::string_view & log_file)
Sets the log file.
Defined at line 175 of file ../../sdk/lib/syslog/cpp/host/logging_backend.cc
LogSettingsBuilder & WithLogSink (zx_handle_t log_sink)
Sets the log sink handle.
Defined at line 392 of file ../../sdk/lib/syslog/cpp/logging_backend_fuchsia.cc
LogSettingsBuilder & WithDispatcher (async_dispatcher_t * dispatcher)
Sets the dispatcher to use.
Defined at line 398 of file ../../sdk/lib/syslog/cpp/logging_backend_fuchsia.cc
LogSettingsBuilder & DisableInterestListener ()
Disables the interest listener.
Defined at line 356 of file ../../sdk/lib/syslog/cpp/logging_backend_fuchsia.cc
LogSettingsBuilder & WithInterestListenerConfiguration (InterestListenerBehavior config)
Configures the interest listener settings.
Defined at line 386 of file ../../sdk/lib/syslog/cpp/logging_backend_fuchsia.cc
LogSettingsBuilder & WithSeverityChangedListener (void * context, void (*)(void *, fuchsia_logging::RawLogSeverity) callback)
Defined at line 378 of file ../../sdk/lib/syslog/cpp/logging_backend_fuchsia.cc
void BuildAndInitialize ()
Configures the log settings
and initializes (or re-initializes) the LogSink connection.
Defined at line 188 of file ../../sdk/lib/syslog/cpp/host/logging_backend.cc