Class: Gitlab::QA::SystemLogs::Finders::Rails::ExceptionLogFinder
- Inherits:
-
JsonLogFinder
- Object
- JsonLogFinder
- Gitlab::QA::SystemLogs::Finders::Rails::ExceptionLogFinder
- Defined in:
- lib/gitlab/qa/system_logs/finders/rails/exception_log_finder.rb
Instance Method Summary collapse
-
#initialize(base_path, file_path = 'gitlab-rails/exceptions_json.log') ⇒ ExceptionLogFinder
constructor
A new instance of ExceptionLogFinder.
- #new_log(data) ⇒ Object
Methods inherited from JsonLogFinder
Constructor Details
#initialize(base_path, file_path = 'gitlab-rails/exceptions_json.log') ⇒ ExceptionLogFinder
Returns a new instance of ExceptionLogFinder.
9 10 11 |
# File 'lib/gitlab/qa/system_logs/finders/rails/exception_log_finder.rb', line 9 def initialize(base_path, file_path = 'gitlab-rails/exceptions_json.log') super(base_path, file_path) end |
Instance Method Details
#new_log(data) ⇒ Object
13 14 15 |
# File 'lib/gitlab/qa/system_logs/finders/rails/exception_log_finder.rb', line 13 def new_log(data) LogTypes::Rails::ExceptionLog.new(data) end |