Nutritious Polygonal Meatball

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

    1.0.3 • 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

    Install

    npm i @livy/hostname-processor

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    3.48 kB

    Total Files

    6

    Last publish

    Collaborators

    • loilo