---
title: "Standalone Types"
description: "Standalone logger configuration, runtime detection, and file or database destination types."
canonical_url: "https://www.blyp.dev/docs/types/standalone"
markdown_url: "https://www.blyp.dev/docs/types/standalone.md"
last_updated: "2018-10-20"
x_farming_labs_generated_preamble: true
---

# Standalone Types
URL: /docs/types/standalone
LLM index: /llms.txt
Description: Standalone logger configuration, runtime detection, and file or database destination types.

# Standalone Types

Import these from `@blyp/core/standalone` when you want the standalone logger surface explicitly:

```ts
import type {
  StandaloneLogger,
  StandaloneLoggerConfig,
  BlypDestination,
  ClientLoggingConfig,
  DatabaseLoggerConfig,
  LogFileConfig,
  LogRotationConfig,
  RuntimeAdapter,
  RuntimeType,
  LogLevel,
} from "@blyp/core/standalone";
```

## Main interfaces

- `StandaloneLogger`: the logger instance with `info`, `warning`, `error`, `critical`, `success`, `debug`, `table`, `child`, `flush()`, and `shutdown()`
- `StandaloneLoggerConfig`: `pretty`, `level`, `destination`, `logDir`, `file`, `database`, and `clientLogging`
- `BlypDestination`: `"file" | "database"`
- `DatabaseLoggerConfig`: dialect, adapter, and delivery config for database-backed primary logging
- `RuntimeAdapter`: runtime abstraction for file, path, env, and `cwd`
- `RuntimeType`: `"bun" | "node"`
- `LogLevel`: `"error" | "critical" | "warning" | "info" | "success" | "debug" | "table"`

## Example

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

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
