summaryrefslogtreecommitdiff
path: root/game_server/src/main.rs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-05-19 17:38:50 +0200
committernatrixaeria <janng@gmx.de>2019-05-19 17:38:50 +0200
commitb65c999daa5c83b9e76c6dca9df088a40e440642 (patch)
tree14a6117dd4317a29c8d377a36588f62fa7c7e799 /game_server/src/main.rs
parent91a1321f0ae1a02df9c3d1a8f890d84a94953a61 (diff)
Change logger to fern
Diffstat (limited to 'game_server/src/main.rs')
-rw-r--r--game_server/src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/game_server/src/main.rs b/game_server/src/main.rs
index e129283..76e7a39 100644
--- a/game_server/src/main.rs
+++ b/game_server/src/main.rs
@@ -4,13 +4,14 @@ mod lobby;
mod gameserver;
mod backend_connection;
+mod game_logger;
+
#[macro_use] extern crate log;
-use pretty_env_logger;
use backend_connection::BackendConnection;
fn main() {
- pretty_env_logger::init();
+ game_logger::init_logger();
let addr = ("127.0.0.1", 5001);
info!("create game server on {:?}", addr);