diff --git a/sysdata/spec/Logging Service spec.md b/sysdata/spec/Logging Service spec.md new file mode 100644 index 00000000..a0c16507 --- /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