Module: Arachni::UI::Output
- Extended by:
- Output
- Included in:
- Browser, Browser::Javascript, BrowserCluster, Component::Manager, Component::Output, Data::Plugins, Framework, HTTP::Client, HTTP::Client::Dynamic404Handler, HTTP::ProxyServer, HTTP::ProxyServer::Connection, HTTP::ProxyServer::SSLInterceptor, HTTP::ProxyServer::Tunnel, HTTP::Request, Parser, Platform::Manager, Platform::Manager, Plugin::Formatter, RPC::Server::Dispatcher, RPC::Server::Dispatcher::Node, RPC::Server::Instance, Rest::Server, Session, Support::Mixins::Observable, Trainer, Output, Arachni::URI, Arachni::URI
- Defined in:
- lib/arachni/ui/foo/output.rb,
lib/arachni/rpc/server/output.rb
Overview
RPC Output interface.
Basically provides us with error logging and the ability to reroute all other messages to a logfile.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
- #debug? ⇒ Boolean
- #debug_level_1? ⇒ Boolean
- #debug_level_2? ⇒ Boolean
- #debug_level_3? ⇒ Boolean
- #debug_level_4? ⇒ Boolean
- #debug_off ⇒ Object
- #debug_on ⇒ Object (also: #debug)
- #disable_only_positives ⇒ Object
- #included(base) ⇒ Object
- #mute ⇒ Object
- #muted? ⇒ Boolean
- #only_positives ⇒ Object
- #only_positives? ⇒ Boolean
- #print_bad(str = '') ⇒ Object
- #print_debug(str = '', level = 1) ⇒ Object
- #print_debug_backtrace ⇒ Object
- #print_debug_level_1(str = '') ⇒ Object
- #print_debug_level_2(str = '') ⇒ Object
- #print_debug_level_3(str = '') ⇒ Object
- #print_debug_level_4 ⇒ Object
- #print_error(str = '') ⇒ Object
- #print_error_backtrace ⇒ Object
- #print_exception ⇒ Object
- #print_info(str = '') ⇒ Object
- #print_line(str = '') ⇒ Object
- #print_ok(str = '') ⇒ Object
- #print_status(str = '') ⇒ Object
- #print_verbose(str = '') ⇒ Object
- #reroute_to_file(file) ⇒ Object
- #reroute_to_file? ⇒ Boolean
- #unmute ⇒ Object
- #verbose? ⇒ Boolean
- #verbose_on ⇒ Object (also: #verbose)
Class Method Details
.reset_output_options ⇒ Object
32 33 |
# File 'lib/arachni/ui/foo/output.rb', line 32 def self. end |
Instance Method Details
#debug? ⇒ Boolean
108 109 |
# File 'lib/arachni/ui/foo/output.rb', line 108 def debug?(*) end |
#debug_level_1? ⇒ Boolean
75 76 77 |
# File 'lib/arachni/ui/foo/output.rb', line 75 def debug_level_1? debug? 1 end |
#debug_level_2? ⇒ Boolean
78 79 80 |
# File 'lib/arachni/ui/foo/output.rb', line 78 def debug_level_2? debug? 2 end |
#debug_level_3? ⇒ Boolean
81 82 83 |
# File 'lib/arachni/ui/foo/output.rb', line 81 def debug_level_3? debug? 3 end |
#debug_level_4? ⇒ Boolean
84 85 86 |
# File 'lib/arachni/ui/foo/output.rb', line 84 def debug_level_4? debug? 4 end |
#debug_off ⇒ Object
105 106 |
# File 'lib/arachni/ui/foo/output.rb', line 105 def debug_off end |
#debug_on ⇒ Object Also known as: debug
101 102 |
# File 'lib/arachni/ui/foo/output.rb', line 101 def debug_on(*) end |
#disable_only_positives ⇒ Object
119 120 |
# File 'lib/arachni/ui/foo/output.rb', line 119 def disable_only_positives end |
#included(base) ⇒ Object
18 19 20 |
# File 'lib/arachni/ui/foo/output.rb', line 18 def included( base ) base.extend ClassMethods end |
#mute ⇒ Object
125 126 |
# File 'lib/arachni/ui/foo/output.rb', line 125 def mute end |
#muted? ⇒ Boolean
131 132 |
# File 'lib/arachni/ui/foo/output.rb', line 131 def muted? end |
#only_positives ⇒ Object
116 117 |
# File 'lib/arachni/ui/foo/output.rb', line 116 def only_positives end |
#only_positives? ⇒ Boolean
122 123 |
# File 'lib/arachni/ui/foo/output.rb', line 122 def only_positives? end |
#print_bad(str = '') ⇒ Object
42 43 |
# File 'lib/arachni/ui/foo/output.rb', line 42 def print_bad(*) end |
#print_debug(str = '', level = 1) ⇒ Object
54 55 |
# File 'lib/arachni/ui/foo/output.rb', line 54 def print_debug(*) end |
#print_debug_backtrace ⇒ Object
69 70 |
# File 'lib/arachni/ui/foo/output.rb', line 69 def print_debug_backtrace(*) end |
#print_debug_level_1(str = '') ⇒ Object
57 58 |
# File 'lib/arachni/ui/foo/output.rb', line 57 def print_debug_level_1(*) end |
#print_debug_level_2(str = '') ⇒ Object
60 61 |
# File 'lib/arachni/ui/foo/output.rb', line 60 def print_debug_level_2(*) end |
#print_debug_level_3(str = '') ⇒ Object
63 64 |
# File 'lib/arachni/ui/foo/output.rb', line 63 def print_debug_level_3(*) end |
#print_debug_level_4 ⇒ Object
66 67 |
# File 'lib/arachni/ui/foo/output.rb', line 66 def print_debug_level_4(*) end |
#print_error(str = '') ⇒ Object
36 37 |
# File 'lib/arachni/ui/foo/output.rb', line 36 def print_error(*) end |
#print_error_backtrace ⇒ Object
72 73 |
# File 'lib/arachni/ui/foo/output.rb', line 72 def print_error_backtrace(*) end |
#print_exception ⇒ Object
39 40 |
# File 'lib/arachni/ui/foo/output.rb', line 39 def print_exception(*) end |
#print_info(str = '') ⇒ Object
48 49 |
# File 'lib/arachni/ui/foo/output.rb', line 48 def print_info(*) end |
#print_line(str = '') ⇒ Object
91 92 |
# File 'lib/arachni/ui/foo/output.rb', line 91 def print_line(*) end |
#print_ok(str = '') ⇒ Object
51 52 |
# File 'lib/arachni/ui/foo/output.rb', line 51 def print_ok(*) end |
#print_status(str = '') ⇒ Object
45 46 |
# File 'lib/arachni/ui/foo/output.rb', line 45 def print_status(*) end |
#print_verbose(str = '') ⇒ Object
88 89 |
# File 'lib/arachni/ui/foo/output.rb', line 88 def print_verbose(*) end |
#reroute_to_file(file) ⇒ Object
73 74 75 |
# File 'lib/arachni/rpc/server/output.rb', line 73 def reroute_to_file( file ) @@reroute_to_file = file end |
#reroute_to_file? ⇒ Boolean
77 78 79 |
# File 'lib/arachni/rpc/server/output.rb', line 77 def reroute_to_file? @@reroute_to_file end |
#unmute ⇒ Object
128 129 |
# File 'lib/arachni/ui/foo/output.rb', line 128 def unmute end |
#verbose? ⇒ Boolean
98 99 |
# File 'lib/arachni/ui/foo/output.rb', line 98 def verbose? end |
#verbose_on ⇒ Object Also known as: verbose
94 95 |
# File 'lib/arachni/ui/foo/output.rb', line 94 def verbose_on end |