struct Halite::Logging::ShortFormat
- Halite::Logging::ShortFormat
- Log::StaticFormatter
- Struct
- Value
- Object
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.crInstance Method Summary
-
#run
Subclasses must implement this method to define the output pattern
-
#timestamp
Write the entry timestamp in RFC3339 format
Instance Method Detail
def run
#
Description copied from struct Log::StaticFormatter
Subclasses must implement this method to define the output pattern
def timestamp
#
Description copied from struct Log::StaticFormatter
Write the entry timestamp in RFC3339 format