class Selenium::WebDriver::LogEntry

def as_json(*)

def as_json(*)
  {
    'timestamp' => timestamp,
    'level' => level,
    'message' => message
  }
end

def initialize(level, timestamp, message)

def initialize(level, timestamp, message)
  @level = level
  @timestamp = timestamp
  @message = message
end

def time

def time
  Time.at timestamp / 1000
end

def to_s

def to_s
  "#{time} #{level}: #{message}"
end