Class: UU::AppLog::ApplicationLog::ApplicationLogAddRecord
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::AppLog::ApplicationLog::ApplicationLogAddRecord
- Includes:
- TimeConversions
- Defined in:
- uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb
Overview
DTO containing attributes of a new application log record.
Constant Summary
Instance Attribute Summary (collapse)
-
- (String) creation_time
Time of the application log record creation (on the API consumer side).
-
- (String) exception
Exception that occurred.
-
- (String) logger_code
Code of logger.
-
- (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 of the application log record (value from Severity).
-
- (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.
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
- (String) creation_time
Time of the application log record creation (on the API consumer side). Mandatory attribute.
15 16 17 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 15 def creation_time @creation_time end |
- (String) exception
Exception that occurred.
45 46 47 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 45 def exception @exception end |
- (String) logger_code
Code of logger.
20 21 22 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 20 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.
61 62 63 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 61 def mdc @mdc end |
- (String) message
Message describing what happened.
40 41 42 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 40 def @message end |
- (String) node_id
Identifier of node (i.e. computer) on which the record was created.
50 51 52 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 50 def node_id @node_id end |
- (String) node_ip
IP address of node (i.e. computer) on which the record was created.
55 56 57 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 55 def node_ip @node_ip end |
- (String) severity
Severity of the application log record (value from Severity). Mandatory attribute.
25 26 27 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 25 def severity @severity end |
- (String) thread_id
Identifier of the thread in which the application log record was created.
30 31 32 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 30 def thread_id @thread_id end |
- (String) thread_name
Name of the thread in which the application log record was created.
35 36 37 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_add_record.rb', line 35 def thread_name @thread_name end |