Top Level Namespace

Defined Under Namespace

Modules: ActiveSupport, Enumerable, Java, Jinx Classes: Array, Class, DateTime, FalseClass, File, Hash, Module, NilClass, Numeric, Object, Options, PrettyPrint, PrintWrapper, Set, String, Symbol, TrueClass

Instance Method Summary collapse

Instance Method Details

#logger(dev = nil, opts = nil) ⇒ Jinx::MultilineLogger

Returns the global logger.

Parameters:

  • dev (String, IO, nil) (defaults to: nil)

    the optional log file or device

Returns:



10
11
12
# File 'lib/jinx/helpers/log.rb', line 10

def logger(dev=nil, opts=nil)
  Jinx.logger(dev, opts)
end