summaryrefslogtreecommitdiff
path: root/webhook/src/utils.rs
diff options
context:
space:
mode:
authorMatthieu <matthieu@developershouse.xyz>2021-09-03 23:33:44 +0400
committerMatthieu <matthieu@developershouse.xyz>2021-09-03 23:33:44 +0400
commitf0e439fa0424463275535201cbfab75c7d58715b (patch)
tree8fe8aa08454376df0b378d9bf95dc3d14fb01d86 /webhook/src/utils.rs
parentd1689c5a984635ccc9b73eaa4c77b5d405e43345 (diff)
add better rust support
Diffstat (limited to 'webhook/src/utils.rs')
-rw-r--r--webhook/src/utils.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/webhook/src/utils.rs b/webhook/src/utils.rs
index e4dd94c..9536ba5 100644
--- a/webhook/src/utils.rs
+++ b/webhook/src/utils.rs
@@ -6,7 +6,9 @@ use serde::Deserialize;
/// Executes the required configuration steps for the program,
/// uncluding build information, Sentry and logging.
-pub fn setup_program (name: &str) {}
+pub fn setup_program (_name: &str) {
+ pretty_env_logger::init();
+}
#[derive(Debug, Deserialize, Clone)]
pub struct Server {