Module: Lich::Common::Log::Preset
- Defined in:
- documented/common/log.rb
Overview
Provides preset formatting for log messages. This module contains methods to format log messages with specific presets.
Class Method Summary collapse
-
.as(kind, body) ⇒ String
Formats a message with a preset.
Class Method Details
.as(kind, body) ⇒ String
Formats a message with a preset.
168 169 170 |
# File 'documented/common/log.rb', line 168 def self.as(kind, body) %[<preset id="#{kind}">#{body}</preset>] end |