Class: Rundock::Logger::LogEntity
Instance Attribute Summary collapse
-
#datetime ⇒ Object
Returns the value of attribute datetime.
-
#indent_depth ⇒ Object
Returns the value of attribute indent_depth.
-
#msg ⇒ Object
Returns the value of attribute msg.
-
#progname ⇒ Object
Returns the value of attribute progname.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Method Summary collapse
-
#initialize(severity, datetime, progname, msg, indent_depth) ⇒ LogEntity
constructor
A new instance of LogEntity.
Constructor Details
#initialize(severity, datetime, progname, msg, indent_depth) ⇒ LogEntity
Returns a new instance of LogEntity.
14 15 16 17 18 19 20 |
# File 'lib/rundock/logger.rb', line 14 def initialize(severity, datetime, progname, msg, indent_depth) @severity = severity @datetime = datetime @progname = progname @msg = msg @indent_depth = indent_depth end |
Instance Attribute Details
#datetime ⇒ Object
Returns the value of attribute datetime.
9 10 11 |
# File 'lib/rundock/logger.rb', line 9 def datetime @datetime end |
#indent_depth ⇒ Object
Returns the value of attribute indent_depth.
12 13 14 |
# File 'lib/rundock/logger.rb', line 12 def indent_depth @indent_depth end |
#msg ⇒ Object
Returns the value of attribute msg.
11 12 13 |
# File 'lib/rundock/logger.rb', line 11 def msg @msg end |
#progname ⇒ Object
Returns the value of attribute progname.
10 11 12 |
# File 'lib/rundock/logger.rb', line 10 def progname @progname end |
#severity ⇒ Object
Returns the value of attribute severity.
8 9 10 |
# File 'lib/rundock/logger.rb', line 8 def severity @severity end |