Module: Console
- Defined in:
- lib/console/clock.rb,
lib/console.rb,
lib/console/filter.rb,
lib/console/format.rb,
lib/console/logger.rb,
lib/console/output.rb,
lib/console/adapter.rb,
lib/console/capture.rb,
lib/console/version.rb,
lib/console/progress.rb,
lib/console/resolver.rb,
lib/console/terminal.rb,
lib/console/event/spawn.rb,
lib/console/format/safe.rb,
lib/console/output/null.rb,
lib/console/output/split.rb,
lib/console/event/failure.rb,
lib/console/event/generic.rb,
lib/console/terminal/text.rb,
lib/console/output/default.rb,
lib/console/output/wrapper.rb,
lib/console/terminal/xterm.rb,
lib/console/output/terminal.rb,
lib/console/output/sensitive.rb,
lib/console/compatible/logger.rb,
lib/console/output/serialized.rb,
lib/console/terminal/formatter/spawn.rb,
lib/console/terminal/formatter/failure.rb,
lib/console/terminal/formatter/progress.rb
Overview
Released under the MIT License. Copyright, 2020-2024, by Samuel Williams.
Defined Under Namespace
Modules: Adapter, Clock, Compatible, Event, Format, Output, Terminal
Classes: Capture, Filter, Logger, Progress, Resolver
Constant Summary
collapse
- UNKNOWN =
:unknown
- VERSION =
"1.27.0"
Class Method Summary
collapse
Class Method Details
.call ⇒ Object
42
43
44
|
# File 'lib/console.rb', line 42
def call(...)
Logger.instance.call(...)
end
|
.debug ⇒ Object
22
23
24
|
# File 'lib/console.rb', line 22
def debug(...)
Logger.instance.debug(...)
end
|
.error ⇒ Object
34
35
36
|
# File 'lib/console.rb', line 34
def error(...)
Logger.instance.error(...)
end
|
.fatal ⇒ Object
38
39
40
|
# File 'lib/console.rb', line 38
def fatal(...)
Logger.instance.fatal(...)
end
|
.info ⇒ Object
26
27
28
|
# File 'lib/console.rb', line 26
def info(...)
Logger.instance.info(...)
end
|
.logger ⇒ Object
14
15
16
|
# File 'lib/console.rb', line 14
def logger
Logger.instance
end
|
.logger=(instance) ⇒ Object
18
19
20
|
# File 'lib/console.rb', line 18
def logger= instance
Logger.instance= instance
end
|
.warn ⇒ Object
30
31
32
|
# File 'lib/console.rb', line 30
def warn(...)
Logger.instance.warn(...)
end
|