Use the new Log module in Crystal 0.34.0

This commit is contained in:
Alex Ling
2020-04-07 12:07:58 +00:00
parent c572c56a39
commit 2c31f594a4
7 changed files with 40 additions and 41 deletions

View File

@@ -25,7 +25,7 @@ parser = OptionParser.parse do |parser|
end
config = Config.load config_path
logger = MLogger.new config
logger = Logger.new config.log_level
storage = Storage.new config.db_path, logger
library = Library.new config.library_path, config.scan_interval, logger, storage
queue = MangaDex::Queue.new config.mangadex["download_queue_db_path"].to_s,