Methods

Yell::Adapters::Io

Constants

TTYColors

The possible unix log colors

Attributes

colors[RW]

Sets colored output on or off (default off)

@example Enable colors

colors = true

@example Disable colors

colors = false
sync[RW]

Sets the “sync mode” to true or false.

When true (default), every log event is immediately written to the file. When false, the log event is buffered internally.

Public Instance Methods

colorize!() click to toggle source

Shortcut to enable colors.

@example

colorize!
# File lib/yell/adapters/io.rb, line 38
def colorize!; @colors = true; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.