Module: FFI::Generator::Logger
- Defined in:
- lib/generator/logger.rb
Class Method Summary collapse
- .debug(message) ⇒ Object
- .error(message) ⇒ Object
- .fatal(message) ⇒ Object
- .info(message) ⇒ Object
- .warn(message) ⇒ Object
Instance Method Summary collapse
Class Method Details
.debug(message) ⇒ Object
20 21 22 |
# File 'lib/generator/logger.rb', line 20 def self.debug() @logger.debug() end |
.error(message) ⇒ Object
11 12 13 |
# File 'lib/generator/logger.rb', line 11 def self.error() @logger.error() end |
.fatal(message) ⇒ Object
8 9 10 |
# File 'lib/generator/logger.rb', line 8 def self.fatal() @logger.fatl() end |
.info(message) ⇒ Object
17 18 19 |
# File 'lib/generator/logger.rb', line 17 def self.info() @logger.info() end |
.warn(message) ⇒ Object
14 15 16 |
# File 'lib/generator/logger.rb', line 14 def self.warn() @logger.warn() end |
Instance Method Details
#set_level(level) ⇒ Object
23 24 25 |
# File 'lib/generator/logger.rb', line 23 def set_level(level) @logger.level = level end |