Method: F4R::F4RLogger#color=

Defined in:
lib/f4r.rb

#color=(bool) ⇒ Object

Allow other programs to enable or disable colour output.

Examples:

F4R::Log.color = true

Parameters:

  • bool (Boolean)


183
184
185
# File 'lib/f4r.rb', line 183

def color=(bool)
  @color = bool
end