update
This commit is contained in:
@@ -1174,8 +1174,6 @@ end
|
|||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
log(msg; service_name, nats_conn, nats_status_topic, log_dir, log_file)
|
|
||||||
|
|
||||||
Write a log entry to a local markdown file and optionally publish it to a NATS status topic.
|
Write a log entry to a local markdown file and optionally publish it to a NATS status topic.
|
||||||
Each entry is prefixed with a timestamp and service name: `-[YYYY-MM-DDTHH:MM:SS.sss] [serviceName] msg`.
|
Each entry is prefixed with a timestamp and service name: `-[YYYY-MM-DDTHH:MM:SS.sss] [serviceName] msg`.
|
||||||
The log file is capped at 100 entries (oldest entries are truncated on rotation).
|
The log file is capped at 100 entries (oldest entries are truncated on rotation).
|
||||||
|
|||||||
Reference in New Issue
Block a user