diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-09-03 23:33:44 +0400 |
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-09-03 23:33:44 +0400 |
| commit | f0e439fa0424463275535201cbfab75c7d58715b (patch) | |
| tree | 8fe8aa08454376df0b378d9bf95dc3d14fb01d86 /webhook/src | |
| parent | d1689c5a984635ccc9b73eaa4c77b5d405e43345 (diff) | |
add better rust support
Diffstat (limited to 'webhook/src')
| -rw-r--r-- | webhook/src/utils.rs | 4 |
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 { |
