mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-22 18:00:48 +00:00
onyx-and-iris
f14a549c03
easy_logging removed from dependencies @configs now raises error on invalid key
12 lines
217 B
Ruby
12 lines
217 B
Ruby
require "logger"
|
|
|
|
module Voicemeeter
|
|
module Logging
|
|
def logger
|
|
@logger = Logger.new($stdout, level: ENV.fetch("LOG_LEVEL", "WARN"))
|
|
@logger.progname = self.class.name
|
|
@logger
|
|
end
|
|
end
|
|
end
|