--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Use asynchronous I/O?
  name: aio
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Direct access to the buffer
  name: buffer
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: delimiter to use between message sections
  name: delimiter
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: a symbol representing the log level from {:off, :fatal, :error, :warn, :info, :debug}
  name: level
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The name of the log file
  name: log
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Public DataObjects Logger API
- !ruby/struct:SM::Flow::P 
  body: Logger taken from Merb :)
- !ruby/struct:SM::Flow::P 
  body: "To replace an existing logger with a new one:"
- !ruby/struct:SM::Flow::VERB 
  body: " DataObjects::Logger.set_log(log{String, IO},level{Symbol, String})\n"
- !ruby/struct:SM::Flow::P 
  body: Available logging levels are
- !ruby/struct:SM::Flow::VERB 
  body: "  DataObjects::Logger::{ Fatal, Error, Warn, Info, Debug }\n"
- !ruby/struct:SM::Flow::P 
  body: "Logging via:"
- !ruby/struct:SM::Flow::VERB 
  body: "  DataObjects.logger.fatal(message&lt;String&gt;)\n  DataObjects.logger.error(message&lt;String&gt;)\n  DataObjects.logger.warn(message&lt;String&gt;)\n  DataObjects.logger.info(message&lt;String&gt;)\n  DataObjects.logger.debug(message&lt;String&gt;)\n"
- !ruby/struct:SM::Flow::P 
  body: Flush the buffer to
- !ruby/struct:SM::Flow::VERB 
  body: "  DataObjects.logger.flush\n"
- !ruby/struct:SM::Flow::P 
  body: Remove the current log object
- !ruby/struct:SM::Flow::VERB 
  body: "  DataObjects.logger.close\n"
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Private DataObjects Logger API
- !ruby/struct:SM::Flow::P 
  body: To initialize the logger you create a new object, proxies to set_log.
- !ruby/struct:SM::Flow::VERB 
  body: "  DataObjects::Logger.new(log{String, IO},level{Symbol, String})\n"
- !ruby/struct:SM::Flow::P 
  body: Logger will not create the file until something is actually logged This avoids file creation on DataObjects init when it creates the default logger.
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "@note"
  - !ruby/struct:SM::Flow::VERB 
    body: "  Ruby (standard) logger levels:\n    off:   absolutely nothing\n    fatal: an unhandleable error that results in a program crash\n    error: a handleable error condition\n    warn:  a warning\n    info:  generic (useful) information about system operation\n    debug: low-level information for developers\n\n  DataObjects::Logger::LEVELS[:off, :fatal, :error, :warn, :info, :debug]\n"
  name: LEVELS
  value: "{       :off   => 99999,       :fatal => 7,       :error => 6,       :warn  => 4,       :info  => 3,       :debug => 0"
full_name: DataObjects::Logger
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: "<<"
- !ruby/object:RI::MethodSummary 
  name: close
- !ruby/object:RI::MethodSummary 
  name: flush
- !ruby/object:RI::MethodSummary 
  name: level=
- !ruby/object:RI::MethodSummary 
  name: push
- !ruby/object:RI::MethodSummary 
  name: set_log
name: Logger
superclass: Object
