@livy/hostname-processor
v1.0.4
Published
Injects the running machine's hostname into a Livy log record
Downloads
3
Maintainers
Readme
@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