toString

open override fun toString(): String

Converts the Hazard object to a String representation.

The method uses a specific date format to maintain log consistency between different systems. The date format used is "EEE MMM dd HH:mm:ss zzz yyyy" in the "en-US" locale. The time zone for the date format is set to "UTC".

Return

A String representation of this object.