Bug #6738 » lib_logger_rdoc_add_require_in_example.patch
| logger.rb (Arbeitskopie) | ||
|---|---|---|
|
#
|
||
|
# This creates a Logger to the standard output stream, with a level of +WARN+:
|
||
|
#
|
||
|
# require 'logger'
|
||
|
#
|
||
|
# log = Logger.new(STDOUT)
|
||
|
# log.level = Logger::WARN
|
||
|
#
|
||
- « Previous
- 1
- 2
- 3
- Next »