/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! This provides a way to set up rust tracing "layers". pubfn initialize_tracing() { use tracing_subscriber::prelude::*;
tracing_subscriber::registry() // The application-services tracing-support library, which directs tracing from some crates // back into the application for logging or other diagnostic purposes.
.with(tracing_support::simple_event_layer()) // More layers can be added by additional `.with(...)` statements. // For inspiration, see https://bugzilla.mozilla.org/show_bug.cgi?id=1652558, which never // landed but does have a good example of what a more sophisticated subscriber needs.
.init();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.