@livy/hostname-processor
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

@livy/hostname-processor

This Livy processor injects the running machine's hostname into a log record's extra object.


Runtime: Node.js


Basic Example

const { createLogger } = require('@livy/logger')
const { HostnameProcessor } = require('@livy/hostname-processor')

const logger = createLogger('app-logger', {
  processors: [HostnameProcessor]
})

Installation

Install it via npm:

npm install @livy/hostname-processor

Package Sidebar

Install

npm i @livy/hostname-processor

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

3.48 kB

Total Files

6

Last publish

Collaborators

  • loilo