From 5fc2e2a6bee266cb2b8ea34945f20de2ce0be0fd Mon Sep 17 00:00:00 2001 From: able Date: Sat, 4 May 2024 14:46:24 -0500 Subject: [PATCH] spec work --- sysdata/spec/Logging Service spec.md | 25 +++++++++++++++++++ ...service spec.md => Memory Service spec.md} | 0 2 files changed, 25 insertions(+) create mode 100644 sysdata/spec/Logging Service spec.md rename sysdata/spec/{Memory service spec.md => Memory Service spec.md} (100%) diff --git a/sysdata/spec/Logging Service spec.md b/sysdata/spec/Logging Service spec.md new file mode 100644 index 000000000..a0c165078 --- /dev/null +++ b/sysdata/spec/Logging Service spec.md @@ -0,0 +1,25 @@ +# Logging Service +The logging service uses the first byte in the message to identify the request type. + +## Current Log Impl + +[..] -> string +[+1] -> Log Level. Refer to the log level table. + +## Log +[0] -> Log a message. +[1] -> Log Level. +[2..10] -> Path length +[11..] -> Path String +[..u64] -> Line number +[..u64] -> column number +[..u64] -> Log String length +[..] -> Log String + + +## Log Level Table +0 -> Error +1 -> Warn +2 -> Info +3 -> Debug +4 -> Trace diff --git a/sysdata/spec/Memory service spec.md b/sysdata/spec/Memory Service spec.md similarity index 100% rename from sysdata/spec/Memory service spec.md rename to sysdata/spec/Memory Service spec.md