Module: Legion::Extensions::Logger
- Extended by:
- Default
- Defined in:
- lib/legion/extensions/logger.rb,
lib/legion/extensions/logger/version.rb,
lib/legion/extensions/logger/actors/logger.rb,
lib/legion/extensions/logger/runners/logger.rb,
lib/legion/extensions/logger/transport/autobuild.rb,
lib/legion/extensions/logger/transport/queues/logger.rb,
lib/legion/extensions/logger/transport/exchanges/logger.rb
Defined Under Namespace
Modules: Actor, Runners, Transport
Constant Summary collapse
- VERSION =
'0.1.0'.freeze
Instance Attribute Summary collapse
-
#actors ⇒ Object
readonly
Returns the value of attribute actors.
-
#autobuild ⇒ Object
readonly
Returns the value of attribute autobuild.
-
#default_settings ⇒ Object
readonly
Returns the value of attribute default_settings.
-
#requirements ⇒ Object
readonly
Returns the value of attribute requirements.
Class Method Summary collapse
Instance Attribute Details
#actors ⇒ Object (readonly)
Returns the value of attribute actors.
11 12 13 |
# File 'lib/legion/extensions/logger.rb', line 11 def actors @actors end |
#autobuild ⇒ Object (readonly)
Returns the value of attribute autobuild.
11 12 13 |
# File 'lib/legion/extensions/logger.rb', line 11 def autobuild @autobuild end |
#default_settings ⇒ Object (readonly)
Returns the value of attribute default_settings.
11 12 13 |
# File 'lib/legion/extensions/logger.rb', line 11 def default_settings @default_settings end |
#requirements ⇒ Object (readonly)
Returns the value of attribute requirements.
11 12 13 |
# File 'lib/legion/extensions/logger.rb', line 11 def requirements @requirements end |
Class Method Details
.actors ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/legion/extensions/logger.rb', line 20 def self.actors [{ path: path + 'actors/logger', class: klass::Actor::Logger, group_name: 'logger' }] end |
.klass ⇒ Object
12 13 14 |
# File 'lib/legion/extensions/logger.rb', line 12 def self.klass Legion::Extensions::Logger end |
.lex_methods ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/legion/extensions/logger.rb', line 28 def self.lex_methods [{ namespace: 'legion::extensions::logger::runners::logger', queue: 'logger', uri: 'logger', class_methods: { to_stdout: {}, to_file: {} } }] end |
.path ⇒ Object
16 17 18 |
# File 'lib/legion/extensions/logger.rb', line 16 def self.path 'legion/extensions/logger/' end |
.requirements ⇒ Object
40 41 42 |
# File 'lib/legion/extensions/logger.rb', line 40 def self.requirements ['legion-transport'] end |