lib/tee_logger/constants.rb in tee_logger-3.0.2 vs lib/tee_logger/constants.rb in tee_logger-3.0.3
- old
+ new
@@ -7,9 +7,11 @@
# defined logdev names
LOGDEV_NAMES = [:console, :logfile]
# defined paired of logdev name
LOGDEV_REVERSE = { console: :logfile, logfile: :console }
+ FORMATTER_FOR_DISABLING = proc { |_severity, _time, _progname, _msg| '' }
+
# using private method #parse_to_hash
ParsedOption = Struct.new(:logdev_name, :indent_level)
# LOGDEV_NAMES not incuded error
class IncorrectNameError < StandardError; end
# option's class is not allow