log for SP Language
Structured, high-throughput logging.
# Example
sp
import log;
fn main() -> void {
log.info("Server started on port 8080");
log.warn("Database connection took 120ms");
}Fast, structured logging library supporting JSON formatting, level filtering, and colored terminal outputs.
Structured, high-throughput logging.
import log;
fn main() -> void {
log.info("Server started on port 8080");
log.warn("Database connection took 120ms");
}Run inside any SP project directory: