Module: RubySmart::SimpleLogger
- Defined in:
- lib/ruby_smart/simple_logger.rb,
lib/ruby_smart/simple_logger/logger.rb,
lib/ruby_smart/simple_logger/scenes.rb,
lib/ruby_smart/simple_logger/version.rb,
lib/ruby_smart/simple_logger/formatter.rb,
lib/ruby_smart/simple_logger/gem_version.rb,
lib/ruby_smart/simple_logger/klass_logger.rb,
lib/ruby_smart/simple_logger/extensions/logs.rb,
lib/ruby_smart/simple_logger/extensions/mask.rb,
lib/ruby_smart/simple_logger/extensions/scene.rb,
lib/ruby_smart/simple_logger/extensions/timer.rb,
lib/ruby_smart/simple_logger/extensions/helper.rb,
lib/ruby_smart/simple_logger/devices/null_device.rb,
lib/ruby_smart/simple_logger/devices/proc_device.rb,
lib/ruby_smart/simple_logger/extensions/severity.rb,
lib/ruby_smart/simple_logger/devices/multi_device.rb,
lib/ruby_smart/simple_logger/extensions/processed.rb,
lib/ruby_smart/simple_logger/devices/memory_device.rb,
lib/ruby_smart/simple_logger/extensions/simple_log.rb
Defined Under Namespace
Modules: Devices, Extensions, KlassLogger, Scenes, VERSION Classes: Formatter, Logger
Class Method Summary collapse
-
.gem_version ⇒ Object
Returns the version of the currently loaded module as a Gem::Version.
-
.new(*args) ⇒ Object
delegate new method to logger.
-
.version ⇒ Object
Returns the version of the currently loaded Gem as a Gem::Version.
Class Method Details
.gem_version ⇒ Object
Returns the version of the currently loaded module as a Gem::Version
6 7 8 |
# File 'lib/ruby_smart/simple_logger/gem_version.rb', line 6 def self.gem_version Gem::Version.new VERSION::STRING end |
.new(*args) ⇒ Object
delegate new method to logger
13 14 15 |
# File 'lib/ruby_smart/simple_logger.rb', line 13 def self.new(*args) RubySmart::SimpleLogger::Logger.new(*args) end |
.version ⇒ Object
Returns the version of the currently loaded Gem as a Gem::Version
8 9 10 |
# File 'lib/ruby_smart/simple_logger/version.rb', line 8 def self.version gem_version end |