Class: UU::AppLog::ApplicationLog::ApplicationLogRecordAttributes
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::AppLog::ApplicationLog::ApplicationLogRecordAttributes
- Includes:
- TimeConversions
- Defined in:
- uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb
Overview
DTO containing attributes of a application log record.
Constant Summary
Instance Attribute Summary (collapse)
-
- (Time) creation_time
Time of the application log record creation (on the API consumer side).
-
- (String) exception
Exception that occured.
-
- (String) logger_code
Code of logger identifies logger object of a specific application or application component.
-
- (Hash) mdc
Mapped diagnostic context.
-
- (String) message
Message describing what happened.
-
- (String) node_id
Identifier of node (i.e. computer) on which the record was created.
-
- (String) node_ip
IP address of node (i.e. computer) on which the record was created.
-
- (String) severity
Severity (value from Severity) of the application log record.
-
- (String) thread_id
Identifier of the thread in which the application log record was created.
-
- (String) thread_name
Name of the thread in which the application log record was created.
-
- (UU::OS::UESURI) uri
URI of the application log record.
Method Summary
Methods included from TimeConversions
Methods inherited from OS::REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (Time) creation_time
Time of the application log record creation (on the API consumer side).
20 21 22 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 20 def creation_time @creation_time end |
- (String) exception
Exception that occured.
51 52 53 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 51 def exception @exception end |
- (String) logger_code
Code of logger identifies logger object of a specific application or application component. Logger is initiator and main participant of creation application log records.
26 27 28 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 26 def logger_code @logger_code end |
- (Hash) mdc
Mapped diagnostic context. A structure containing key-value pairs with optional information useful to troubleshoot the application.
67 68 69 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 67 def mdc @mdc end |
- (String) message
Message describing what happened.
46 47 48 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 46 def @message end |
- (String) node_id
Identifier of node (i.e. computer) on which the record was created.
56 57 58 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 56 def node_id @node_id end |
- (String) node_ip
IP address of node (i.e. computer) on which the record was created.
61 62 63 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 61 def node_ip @node_ip end |
- (String) severity
Severity (value from Severity) of the application log record.
31 32 33 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 31 def severity @severity end |
- (String) thread_id
Identifier of the thread in which the application log record was created.
36 37 38 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 36 def thread_id @thread_id end |
- (String) thread_name
Name of the thread in which the application log record was created.
41 42 43 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 41 def thread_name @thread_name end |
- (UU::OS::UESURI) uri
URI of the application log record.
15 16 17 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_record_attributes.rb', line 15 def uri @uri end |