log

v1.0.2Official Ecosystem Package

Fast, structured logging library supporting JSON formatting, level filtering, and colored terminal outputs.

89.6Ktotal downloads
License:Apache-2.0
Author:SP Core Team
Published:Oct 6, 2026
Category:utilities

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");
}

Install Package

$spm add log

Package Details

Version:v1.0.2
License:Apache-2.0
Total Downloads:89.6K
Published:Oct 6, 2026
SPM Min Version:>= 1.0.0
Checksum:SHA-256
Quick SPM command

Run inside any SP project directory:

spm add log