1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/sysdata/spec/Logging Service spec.md

26 lines
502 B
Markdown
Raw Normal View History

2024-05-04 19:46:24 +00:00
# Logging Service
The logging service uses the first byte in the message to identify the request type.
## Current Log Impl
<!-- This is a hack but should be noted -->
2024-05-05 10:08:42 +00:00
[STR] -> string
[U8] -> Log Level. Refer to the log level table.
2024-05-04 19:46:24 +00:00
## Log
2024-05-05 10:08:42 +00:00
[U8] -> Log a message.
[U8] -> Log Level.
[U64] -> Path length
[STR] -> Path String
[U64] -> Line number
[U64] -> column number
[U64] -> Log String length
[STR] -> Log String
2024-05-04 19:46:24 +00:00
## Log Level Table
0 -> Error
1 -> Warn
2 -> Info
3 -> Debug
4 -> Trace