* Normal logging now logs to stdout; * Renamed Inbound::GameLinkEvent to Inbound::Gamelink; * Renamed the struct GameResultSnake to GameResult; * Added Inbound::GameResult; * Rewrote the message handling to become more succinct; * Turned the default_gamesettings function into a Default impl; * Made the snake smaller and prettier; * Replaced some direction checking code with less code; * Added logging messages to all callbacks; * Added as_movement_delta to the Direction impl; * Added nice error messages to the message parsing; * Moved some code in maputil to increase the DRY-factor.
28 lines
434 B
TOML
28 lines
434 B
TOML
[appenders.console]
|
|
kind = "console"
|
|
|
|
[appenders.console.encoder]
|
|
pattern = "{d(%+)(local)} [{t}] {h({l})} {M}:{m}{n}"
|
|
|
|
[appenders.client]
|
|
kind = "file"
|
|
path = "log/client.log"
|
|
|
|
[appenders.snake]
|
|
kind = "file"
|
|
path = "log/snake.log"
|
|
|
|
[root]
|
|
level = "info"
|
|
appenders = [ "console" ]
|
|
|
|
[loggers.client]
|
|
level = "debug"
|
|
appenders = [ "client" ]
|
|
additive = false
|
|
|
|
[loggers.snake]
|
|
level = "debug"
|
|
appenders = [ "console" ]
|
|
additive = false
|