Blyp Docs

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

Example

const config: StandaloneLoggerConfig = {
  destination: "database",
  level: "debug",
  database: {
    dialect: "postgres",
  },
};