Function dlog_rs::configure [−][src]
Expand description
Configures dlog with the given API_KEY and sensitive default values
Arguments
api_key
- The dlog API_KEY for this service.
Examples
#[macro_use]
extern crate log;
fn main() {
dlog::configure("<API_KEY>");
info!("Hello from Rust!");
// Flushes all remaining logs when the app exits
log::logger().flush();
}