Class: Telegram::BotManager::BotLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/telegram/bot_manager/logger.rb

Constant Summary

Constants inherited from Logger

Logger::LOG_DIR

Instance Method Summary collapse

Constructor Details

#initialize(app_name, **args) ⇒ BotLogger

Returns a new instance of BotLogger.



54
55
56
# File 'lib/telegram/bot_manager/logger.rb', line 54

def initialize(app_name, **args)
  super(log_file: "#{app_name}.log")
end