Module: OPDS::Logging

Included in:
Entry, Feed, OPDSParser, Support::Browser, Support::Link
Defined in:
lib/opds/support/logging.rb

Overview

Handles logging from the library

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.log(txt) ⇒ Object

log text to stderr



10
11
12
# File 'lib/opds/support/logging.rb', line 10

def self.log(txt)
	STDERR.puts("LOGGING : #{txt}")
end

Instance Method Details

#log(txt) ⇒ Object

log text to stderr



5
6
7
# File 'lib/opds/support/logging.rb', line 5

def log(txt)
	STDERR.puts("LOGGING : #{txt}")
end