fuchsia_logging

Summary

Enumerations

InterestListenerBehavior{
  Disabled = 0,
  Enabled = 2
}
enum
Interest listener configuration.
LogSeverity{
  Trace = 0x10,
  Debug = 0x20,
  Info = 0x30,
  Warn = 0x40,
  Error = 0x50,
  Fatal = 0x60
}
enum

Typedefs

RawLogSeverity using
uint8_t

Functions

FlushToGlobalLogger(LogBuffer & buffer)
GetMinLogSeverity()
RawLogSeverity
IsSeverityEnabled(RawLogSeverity severity)
bool
Returns true if |severity| is at or above the current minimum log level.

Classes

fuchsia_logging::KeyValue
fuchsia_logging::LogBuffer
fuchsia_logging::LogBufferBuilder

Constructs a LogBuffer.

fuchsia_logging::LogFirstNState
fuchsia_logging::LogMessage
fuchsia_logging::LogMessageVoidify

Structs

fuchsia_logging::FlushConfig
fuchsia_logging::LogSettings

Settings which control the behavior of logging.

fuchsia_logging::RawLogSettings

Enumerations

InterestListenerBehavior

 InterestListenerBehavior

Interest listener configuration.

Properties
Disabled

Disable interest listening completely.

Enabled

Enable the interest listener, and block logging startup on an initial interest.

LogSeverity

 LogSeverity

Typedefs

RawLogSeverity

uint8_t RawLogSeverity

Functions

FlushToGlobalLogger

zx::result FlushToGlobalLogger(
  LogBuffer & buffer
)

GetMinLogSeverity

RawLogSeverity GetMinLogSeverity()

IsSeverityEnabled

bool IsSeverityEnabled(
  RawLogSeverity severity
)

Returns true if |severity| is at or above the current minimum log level.

LOG_FATAL and above is always true.