Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-log

Structured event logging for Pudu: message templates, enrichment, filtering, formatting, and sinks

0.1.0Apache-2.01

InstallClose

Names.pudu

Pudu12 lines567 B

GitHub ↗
1/** @Log.Constants.Names.Vocabulary — property names and default templates */2module PuduLangLog.Constants.Names34/// The property naming the part of the program that wrote an event.5export const SOURCE_CONTEXT: Str = "SourceContext"67/// The output template of console sinks.8export const CONSOLE_TEMPLATE: Str = "[\{Timestamp:HH:mm:ss\} \{Level:u3\}] \{Message:lj\}\{NewLine\}\{Exception\}"910/// The output template of file sinks.11export const FILE_TEMPLATE: Str = "\{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz\} [\{Level:u3\}] \{Message:lj\}\{NewLine\}\{Exception\}"12