struct Halite::Logging::ShortFormat

Overview

Similar to Log::ShortFormat

NOTE: It invalid by calling Log.setup or Log.setup_from_env outside of Halite.

Copy from https://github.com/crystal-lang/crystal/blob/3c48f311f/src/log/format.cr#L197

Defined in:

halite/features/logging.cr

Instance Method Summary

Instance Method Detail

def run #
Description copied from struct Log::StaticFormatter

Subclasses must implement this method to define the output pattern


[View source]
def timestamp #
Description copied from struct Log::StaticFormatter

Write the entry timestamp in RFC3339 format


[View source]