Module: LogStruct::Log::Interfaces::RequestFields Abstract
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- lib/log_struct/log/interfaces/request_fields.rb
Overview
This module is abstract.
Subclasses must implement the abstract
methods below.
Common interface for request-related fields Used by both Request and Security logs
Instance Method Summary collapse
- #http_method ⇒ String? abstract
-
#path ⇒ String?
abstract
Common request fields.
- #referer ⇒ String? abstract
- #request_id ⇒ String? abstract
- #source_ip ⇒ String? abstract
- #user_agent ⇒ String? abstract
Instance Method Details
#http_method ⇒ String?
This method is abstract.
20 |
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 20 def http_method; end |
#path ⇒ String?
This method is abstract.
Common request fields
17 |
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 17 def path; end |
#referer ⇒ String?
This method is abstract.
29 |
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 29 def referer; end |
#request_id ⇒ String?
This method is abstract.
32 |
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 32 def request_id; end |
#source_ip ⇒ String?
This method is abstract.
23 |
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 23 def source_ip; end |
#user_agent ⇒ String?
This method is abstract.
26 |
# File 'lib/log_struct/log/interfaces/request_fields.rb', line 26 def user_agent; end |