Skip to main content

Module application

Module application 

Source
Expand description

Zebrad Abscissa Application

This is the code that starts zebrad, and launches its tasks and services. See the crate docs and the start docs for more details.

Structsยง

LAST_WARN_ERROR_LOG_SENDER
The last log event that occurred in the application.
ZebradApp
Zebrad Application

Staticsยง

APPLICATION
Application state

Functionsยง

boot
Boot the given application, parsing subcommand and options from command-line arguments, and terminating when complete.
build_version
Returns the zebrad version for this build, in SemVer 2.0 format.
fatal_error ๐Ÿ”’
See https://docs.rs/abscissa_core/latest/src/abscissa_core/application/exit.rs.html#7-10 Print a fatal error message and exit
install_panic_hook ๐Ÿ”’
Installs a panic hook that writes the panic to standard error, as one JSON line with JSON logs, and sends it to Sentry when Sentry is enabled.
release_version
The Zebra current release version, without any build metadata.
user_agent
The User-Agent string provided by the node.
vergen_build_version ๐Ÿ”’
Returns the zebrad version from this build, if available from vergen.
with_git_commit ๐Ÿ”’
Adds git.<git_commit> build metadata to version, if it has no build metadata.