@zerilog/humiozink
TypeScript icon, indicating that this package has built-in type declarations

2.0.7 • Public • Published

🚀 @zerilog/humiozink

A zink for logging to humio using zerilog

Getting Started

To get started with @zerilog/humiozink, install the package using npm:

npm install zerilog @zerilog/humiozink
pnpm add zerilog @zerilog/humiozink
yarn add zerilog @zerilog/humiozink

Usage

Here's a quick example to get you started:

import { LoggerConfiguration } from 'zerilog'
import HumioZink from '@zerilog/humiozink'

const logger = new LoggerConfiguration()
                .writeTo.sink(new HumioZink({
                    ingestToken: "YOUR_INGEST_TOKEN"
                }))
                .createLogger();

logger.information("Hello World");

Contact

Readme

Keywords

Package Sidebar

Install

npm i @zerilog/humiozink

Weekly Downloads

7

Version

2.0.7

License

ISC

Unpacked Size

8.21 kB

Total Files

11

Last publish

Collaborators

  • sh4dow8080