summaryrefslogtreecommitdiff
path: root/webhook/src/utils.rs
diff options
context:
space:
mode:
authormatthieu <matthieu@developershouse.xyz>2021-09-03 22:36:00 +0400
committermatthieu <matthieu@developershouse.xyz>2021-09-03 22:36:00 +0400
commitd1689c5a984635ccc9b73eaa4c77b5d405e43345 (patch)
tree12d475d1e9c0b8edcf04d34d8afe703f6cbeacd9 /webhook/src/utils.rs
parentc1b170dfec41937fbc4ca14e90de768ec176fec0 (diff)
.github missing
Diffstat (limited to 'webhook/src/utils.rs')
-rw-r--r--webhook/src/utils.rs16
1 files changed, 2 insertions, 14 deletions
diff --git a/webhook/src/utils.rs b/webhook/src/utils.rs
index b41156b..e4dd94c 100644
--- a/webhook/src/utils.rs
+++ b/webhook/src/utils.rs
@@ -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 {