From 016eded1dea75f32cd51831dafeb6fef89994fe0 Mon Sep 17 00:00:00 2001 From: Luke Hill <20105237+luke-hill@users.noreply.github.com> Date: Mon, 27 Sep 2021 01:49:33 +0100 Subject: [PATCH] [rb]: Standardise driver logging output (#9850) Ensure all log formats (Including browser ones), are in a consistent format --- rb/lib/selenium/webdriver/common/log_entry.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rb/lib/selenium/webdriver/common/log_entry.rb b/rb/lib/selenium/webdriver/common/log_entry.rb index f2739b8ecf68a..23615ccaa53c9 100644 --- a/rb/lib/selenium/webdriver/common/log_entry.rb +++ b/rb/lib/selenium/webdriver/common/log_entry.rb @@ -30,14 +30,14 @@ def initialize(level, timestamp, message) def as_json(*) { - 'level' => level, 'timestamp' => timestamp, + 'level' => level, 'message' => message } end def to_s - "#{level} #{time}: #{message}" + "#{time} #{level}: #{message}" end def time