# @types/splunk-bunyan-logger

> TypeScript definitions for splunk-bunyan-logger

Latest version **0.9.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/splunk-bunyan-logger
pnpm add @types/splunk-bunyan-logger
yarn add @types/splunk-bunyan-logger
bun add @types/splunk-bunyan-logger
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.9.3 |
| Published | 2023-11-07 |
| First published | 2018-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/splunk-bunyan-logger
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/splunk-bunyan-logger
- npm.io page: https://npm.io/package/@types/splunk-bunyan-logger

## Dependencies (3)

- [@types/node](https://npm.io/package/@types/node.md) *
- [@types/bunyan](https://npm.io/package/@types/bunyan.md) *
- [@types/splunk-logging](https://npm.io/package/@types/splunk-logging.md) *

## Recent versions

- 0.9.3 (latest) — 2023-11-07
- 0.9.0 (ts2.3) — 2018-07-06
- 0.9.2 — 2023-10-18
- 0.9.1 — 2023-09-25

## README

# Installation
> `npm install --save @types/splunk-bunyan-logger`

# Summary
This package contains type definitions for splunk-bunyan-logger (http://dev.splunk.com).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/splunk-bunyan-logger.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/splunk-bunyan-logger/index.d.ts)
````ts
/// <reference types="node" />

import { Stream as BunyanStream } from "bunyan";
import { Config, EventFormatter, Logger as SplunkLogger, SendContext } from "splunk-logging";

export interface SplunkStream extends NodeJS.WritableStream {
    logger: SplunkLogger;
}

export interface SplunkBunyanStream extends BunyanStream {
    flush(callback?: (error: Error, req: any, res: any) => void): void;
    on(event: string, callback: (err: Error, context: SendContext) => void): void;
    setEventFormatter(eventFormatter: EventFormatter): void;
    stream: SplunkStream;
}

export function createStream(config: Config): SplunkBunyanStream;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@types/bunyan](https://npmjs.com/package/@types/bunyan), [@types/node](https://npmjs.com/package/@types/node), [@types/splunk-logging](https://npmjs.com/package/@types/splunk-logging)

# Credits
These definitions were written by [Alex Brick](https://github.com/bricka).

---
_Source: https://npm.io/package/@types/splunk-bunyan-logger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
