Standalone Types
Import these from blyp-js/standalone when you want the standalone logger surface explicitly:
import type {
StandaloneLogger,
StandaloneLoggerConfig,
ClientLoggingConfig,
LogFileConfig,
LogRotationConfig,
RuntimeAdapter,
RuntimeType,
LogLevel,
} from "blyp-js/standalone";Main interfaces
StandaloneLogger: the logger instance withinfo,warning,error,critical,success,debug,table, andchildStandaloneLoggerConfig:pretty,level,logDir,file, andclientLoggingRuntimeAdapter: runtime abstraction for file, path, env, andcwdRuntimeType:"bun" | "node"LogLevel:"error" | "critical" | "warning" | "info" | "success" | "debug" | "table"
Example
const config: StandaloneLoggerConfig = {
level: "debug",
file: {
rotation: {
maxArchives: 10,
},
},
};