]> git.puffer.fish Git - matthieu/nova.git/commitdiff
.github missing
authormatthieu <matthieu@developershouse.xyz>
Fri, 3 Sep 2021 18:36:00 +0000 (22:36 +0400)
committermatthieu <matthieu@developershouse.xyz>
Fri, 3 Sep 2021 18:36:00 +0000 (22:36 +0400)
webhook/src/utils.rs

index b41156bf39ff9b72c57fa498b398dfdc38a087d3..e4dd94ce1121850ced7e463bc78e22860e96f17e 100644 (file)
@@ -1,24 +1,12 @@
 use std::env;
 
 use config::{Config, ConfigError, Environment, File};
-use log::{info, trace};
+use log::{info};
 use serde::Deserialize;
 
 /// Executes the required configuration steps for the program,
 /// uncluding build information, Sentry and logging.
-pub fn setup_program (name: &str) {
-    // todo: this may be replaced by a more complete logger
-
-    let build_info_get = build_info();
-
-    trace!("Starting {} version {} v{} built with {} at {}",
-        name,
-        build_info_get.crate_info.name,
-        build_info_get.crate_info.version,
-        build_info_get.compiler,
-        build_info_get.timestamp
-    );
-}
+pub fn setup_program (name: &str) {}
 
 #[derive(Debug, Deserialize, Clone)]
 pub struct Server {