aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-06-02 21:43:37 -0400
committerbnewbold <bnewbold@robocracy.org>2016-06-02 21:43:37 -0400
commit3f4a94ec505517a30f8660cdde83f057af11e6b2 (patch)
tree4c187034c7e300ef00a6625a91f25a4a13e8713a /src/main.rs
parentd338d245e7589d8eb58b60c75d7639c248491a82 (diff)
downloaducp-3f4a94ec505517a30f8660cdde83f057af11e6b2.tar.gz
ucp-3f4a94ec505517a30f8660cdde83f057af11e6b2.zip
server: add logging via syslog
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 95e2dd0..dd6f7e9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,6 +2,8 @@
// XXX: re-enable these warnings
#![allow(unused_imports, unused_variables, unused_mut)]
+#[macro_use] extern crate log;
+extern crate env_logger;
extern crate getopts;
extern crate udt;
extern crate sodiumoxide;