Standalone Types
Import these from @blyp/core/standalone when you want the standalone logger surface explicitly:
import type {
StandaloneLogger,
StandaloneLoggerConfig,
BlypDestination,
ClientLoggingConfig,
DatabaseLoggerConfig,
LogFileConfig,
LogRotationConfig,
RuntimeAdapter,
RuntimeType,
LogLevel,
} from "@blyp/core/standalone";Main interfaces
StandaloneLogger: the logger instance withinfo,warning,error,critical,success,debug,table,child,flush(), andshutdown()StandaloneLoggerConfig:pretty,level,destination,logDir,file,database, andclientLoggingBlypDestination:"file" | "database"DatabaseLoggerConfig: dialect, adapter, and delivery config for database-backed primary loggingRuntimeAdapter: runtime abstraction for file, path, env, andcwdRuntimeType:"bun" | "node"LogLevel:"error" | "critical" | "warning" | "info" | "success" | "debug" | "table"
Example
const config: StandaloneLoggerConfig = {
destination: "database",
level: "debug",
database: {
dialect: "postgres",
},
};