class Logger

Defined at line 67 of file ../../src/devices/lib/log/log.h

Public Methods

void Logger (zx_koid_t pid, fuchsia_logging::Logger logger)

Initializes a logger.

Defined at line 88 of file ../../src/devices/lib/log/log.h

void SwitchToStdout ()

Defined at line 91 of file ../../src/devices/lib/log/log.h

FuchsiaLogSeverity GetSeverity ()

Gets the minimum severity of the logger

Defined at line 94 of file ../../src/devices/lib/log/log.h

template <typename... Args>
void log (FuchsiaLogSeverity severity, const std::source_location & loc, std::format_string<Args...> fmt, Args &&... args)

Defined at line 121 of file ../../src/devices/lib/log/log.h

void BeginRecord (fuchsia_logging::LogBuffer & buffer, FuchsiaLogSeverity severity, std::optional<std::string_view> file_name, unsigned int line, std::optional<std::string_view> msg)

Begins a record, used by internal macros only.

Defined at line 192 of file ../../src/devices/lib/log/log.cc

void VLogWrite (FuchsiaLogSeverity severity, const char * tag, const char * msg, va_list args, const char * file, uint32_t line)

Writes a log message, used by internal macros only.

Defined at line 144 of file ../../src/devices/lib/log/log.cc