Module: Slog

Defined in:
lib/slog/metadata.rb,
lib/slog.rb,
lib/slog/logger.rb

Overview

Everything you wanted to know about the big Slog.

Defined Under Namespace

Classes: Logger

Constant Summary collapse

ROOT =

Point to actual gem location

File.join File.dirname(__FILE__), '..', '..'
VERSION =

We use a VERSION file to tie into our build pipeline

File.read(File.join(ROOT, 'VERSION')).strip
SUMMARY =

We don't really do all that much, be humble

'Easy structured logging'
AUTHOR =

Your benevolent dictator for life

'Sean Clemmer'
EMAIL =

Turn here to strangle your dictator

'[email protected]'
LICENSE =

Like the MIT license, but even simpler

'ISC'
HOMEPAGE =

If you really just can't get enough

'https://github.com/sczizzo/slog'

Class Method Summary collapse

Class Method Details

.new(*opts) ⇒ Object

Provide a shortcut to Slog::Logger.new


7
8
9
# File 'lib/slog.rb', line 7

def self.new *opts
  Logger.new *opts
end