Class: Confiner::Plugins::Debug
Constant Summary
Confiner::Plugin::DEFAULT_PLUGIN_ARGS
Instance Attribute Summary
#examples
Instance Method Summary
collapse
arguments, #initialize, #run
Methods included from Logger
#log, log_to, log_to=, #run
Instance Method Details
#action1 ⇒ Object
8
9
10
|
# File 'lib/confiner/plugins/debug.rb', line 8
def action1
log :debug, arg1
end
|
#action2 ⇒ Object
12
13
14
|
# File 'lib/confiner/plugins/debug.rb', line 12
def action2
log :debug, arg2
end
|
#error ⇒ Object
25
26
27
28
|
# File 'lib/confiner/plugins/debug.rb', line 25
def error
log :err, 'Err'
log :error, 'Error'
end
|
#fatal ⇒ Object
21
22
23
|
# File 'lib/confiner/plugins/debug.rb', line 21
def fatal
log :fatal, 'Fatal'
end
|
#warn ⇒ Object
16
17
18
19
|
# File 'lib/confiner/plugins/debug.rb', line 16
def warn
log :warn, 'Warn'
log :warning, 'Warning'
end
|