[][src]Module sentry_contexts::utils

Contains functions to retrieve various contexts that can be useful to attach to events

Constants

ARCH

The CPU architecture identifier.

PLATFORM

The platform identifier.

RUSTC_CHANNEL

The rustc release channel that was used to compile this crate.

RUSTC_VERSION

The rustc version that was used to compile this crate.

Functions

device_context

Returns the device context.

os_context

Returns the OS context

rust_context

Returns the rust info.

server_name

Returns the server name (hostname) if available.