Crate starnix_logging

Crate starnix_logging 

Source

Macros§

bug_ref
Creates a BugRef from a URL literal.
firehose_trace_duration
firehose_trace_duration_begin
firehose_trace_duration_end
firehose_trace_instant
log
log_debug
log_error
log_info
log_syscall
log_trace
log_warn
trace_duration
trace_duration_begin
trace_duration_end
trace_flow_begin
trace_flow_end
trace_flow_step
trace_instaflow_begin
trace_instaflow_end
trace_instaflow_step
trace_instant
track_stub
Tracks a stubbed implementation.
track_stub_log
Tracks a stubbed implementation with a specified log level.

Structs§

BugRef
Represents a reference to a Fuchsia bug.
CoreDumpInfo
CoreDumpList
A list of recently coredumped tasks in Inspect.
Record
The “payload” of a log message.
SyscallLogFilter
A filter for syscall logging.
Value
A value in a key-value.

Enums§

Level
An enum representing the available verbosity levels of the logger.
TraceScope
Scope represents the scope of a trace event.

Constants§

ARG_NAME
CATEGORY_ATRACE
CATEGORY_STARNIX
CATEGORY_STARNIX_MM
CATEGORY_STARNIX_SECURITY
CATEGORY_TRACE_META
NAME_CHECK_TASK_EXIT
NAME_CREATE_CONTAINER
NAME_HANDLE_EXCEPTION
NAME_MAP_RESTRICTED_STATE
NAME_PERFETTO_BLOB
NAME_READ_RESTRICTED_STATE
NAME_RESTRICTED_KICK
NAME_RUN_TASK
NAME_START_KERNEL
NAME_WRITE_RESTRICTED_STATE

Traits§

ToValue
A type that can be converted into a Value.

Functions§

impossible_error
logger
Returns a reference to the logger.
not_found_lazy_node_callback
register_context_name_callback
Provide a callback to retrieve the current context name, for example the name of the current Starnix process.
register_stub_context_callback
Initialize the inspect contrib library to be able to associate stub calls with process names.
regular_trace_category_enabled
set_current_task_info
Set the context for log messages from this thread. Should only be called when a thread has been created to execute a user-level task, and should only be called once at the start of that thread’s execution.
set_zx_name
trace_debug_logs_enabled
track_file_not_found
track_stub_lazy_node_callback
Returns a future that resolves to an Inspector containing stub information.
with_zx_name