lib/bolt/logger.rb in bolt-3.1.0 vs lib/bolt/logger.rb in bolt-3.3.0

- old
+ new

@@ -89,9 +89,17 @@ def self.configured? Logging.logger[:root].appenders.any? end + def self.stream + @stream + end + + def self.stream=(stream) + @stream = stream + end + # A helper to ensure the Logging library is always initialized with our # custom log levels before retrieving a Logger instance. def self.logger(name) initialize_logging Logging.logger[name]