Module: Alipan::Common::Logging
Constant Summary collapse
- MAX_NUM_LOG =
100- ROTATE_SIZE =
10 * 1024 * 1024
Class Method Summary collapse
- .set_log_file(file) ⇒ Object
-
.set_log_level(level) ⇒ Object
level = Logger::DEBUG | Logger::INFO | Logger::ERROR | Logger::FATAL.
Instance Method Summary collapse
Class Method Details
.set_log_file(file) ⇒ Object
17 18 19 |
# File 'lib/alipan/common/logging.rb', line 17 def self.set_log_file(file) @log_file = file end |