Class: Context::Log

Inherits:
Object
  • Object
show all
Defined in:
lib/Context/Log.rb

Overview

Implements some rudimentary logging for context. This is basically just to output warnings.

Class Method Summary collapse

Class Method Details

.warning(system, message) ⇒ Object



6
7
8
# File 'lib/Context/Log.rb', line 6

def Log::warning(system, message)
    $stderr.print("WARNING #{system}: #{message}\n")
end