fuchsia.logger

PROTOCOLS

Log

Defined in fuchsia.logger/logger.fidl

Listen

Request

NameType
log_listener LogListener
options LogFilterOptions?

DumpLogs

Request

NameType
log_listener LogListener
options LogFilterOptions?

LogSink

Defined in fuchsia.logger/logger.fidl

Connect

Request

NameType
socket handle<socket>

LogListener

Defined in fuchsia.logger/logger.fidl

Log

Request

NameType
log LogMessage

LogMany

Request

NameType
log vector<LogMessage>

Done

Request

NameType

STRUCTS

LogFilterOptions

Defined in fuchsia.logger/logger.fidl

NameTypeDescriptionDefault
filter_by_pid bool No default
pid uint64 No default
filter_by_tid bool No default
tid uint64 No default
verbosity uint8 No default
min_severity LogLevelFilter No default
tags vector<string>[5] No default

LogMessage

Defined in fuchsia.logger/logger.fidl

NameTypeDescriptionDefault
pid uint64 No default
tid uint64 No default
time zx/time No default
severity int32 No default
dropped_logs uint32 No default
tags vector<string>[5] No default
msg string[2032] No default

ENUMS

LogLevelFilter

Type: int8

Defined in fuchsia.logger/logger.fidl

NameValueDescription
NONE -1
INFO 0
WARN 1
ERROR 2
FATAL 3

CONSTANTS

NameValueTypeDescription
MAX_TAGS 5 uint8
MAX_TAG_LEN_BYTES 63 uint8
MAX_TAGS_PER_LOG_MESSAGE 5 uint8
MAX_DATAGRAM_LEN_BYTES 2032 uint32
MAX_LOG_MANY_SIZE_BYTES 16384 uint64

Max log bytes per call to a listener