Home Reference Source Repository
import BunyanPmx from 'bunyan-pmx'
public class | source

BunyanPmx

Extends:

events~EventEmitter → BunyanPmx

Bunyan writable stream that writes logs to pmx.

Constructor Summary

Public Constructor
public

constructor(objectPattern: {"data": *, "res": *, "reply": *, "serializer": *, "hijackLoggers": *})

Member Summary

Public Members
public

data: *

public

res: *

public
public
public

Public Constructors

public constructor(objectPattern: {"data": *, "res": *, "reply": *, "serializer": *, "hijackLoggers": *}) source

Params:

NameTypeAttributeDescription
objectPattern {"data": *, "res": *, "reply": *, "serializer": *, "hijackLoggers": *}
  • optional
  • default: {}

Public Members

public data: * source

public res: * source

public serializer: * source

public writable: boolean source

public writeStreams: * source