mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-05 00:00:44 -04:00
Use the new Log module in Crystal 0.34.0
This commit is contained in:
@@ -79,7 +79,7 @@ module MangaDex
|
||||
class Queue
|
||||
property downloader : Downloader?
|
||||
|
||||
def initialize(@path : String, @logger : MLogger)
|
||||
def initialize(@path : String, @logger : Logger)
|
||||
dir = File.dirname path
|
||||
unless Dir.exists? dir
|
||||
@logger.info "The queue DB directory #{dir} does not exist. " \
|
||||
@@ -253,7 +253,7 @@ module MangaDex
|
||||
|
||||
def initialize(@queue : Queue, @api : API, @library_path : String,
|
||||
@wait_seconds : Int32, @retries : Int32,
|
||||
@logger : MLogger)
|
||||
@logger : Logger)
|
||||
@queue.downloader = self
|
||||
|
||||
spawn do
|
||||
|
||||
Reference in New Issue
Block a user