How to use roarr - 10 common examples

To help you get started, we’ve selected a few roarr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gajus / slonik / test / helpers / Logger.js View on Github external
// @flow

import Logger from 'roarr';

export default Logger.child({
  connectionId: '1',
  poolId: '1',
});
github gajus / slonik-utilities / src / Logger.js View on Github external
// @flow

import Logger from 'roarr';

export default Logger.child({
  package: 'slonik-utilities',
});
github gajus / lightship / src / Logger.js View on Github external
// @flow

import Roarr from 'roarr';

export default Roarr.child({
  package: 'lightship',
});
github gajus / postloader / src / Logger.js View on Github external
// @flow

import Logger from 'roarr';

export default Logger.child({
  package: 'postloader',
});
github gajus / surgeon / src / Logger.js View on Github external
// @flow

import Roarr from 'roarr';

const Logger = Roarr
  .child({
    package: 'surgeon',
  });

export default Logger;
github gajus / slonik / src / Logger.js View on Github external
// @flow

import Logger from 'roarr';

export default Logger.child({
  package: 'slonik',
});
github gajus / extract-time / src / Logger.js View on Github external
// @flow

import Roarr from 'roarr';

export default Roarr.child({
  package: 'extract-time',
});
github gajus / extract-date / src / Logger.js View on Github external
// @flow

import Roarr from 'roarr';

export default Roarr.child({
  package: 'extract-date',
});
github gajus / global-agent / src / Logger.js View on Github external
// @flow

import Roarr from 'roarr';

const Logger = Roarr
  .child({
    program: 'global-agent',
  });

export default Logger;
github stelace / stelace / logger.js View on Github external
const log = require('roarr').default
const { serializeError } = require('serialize-error')
const apm = require('elastic-apm-node')
const _ = require('lodash')

const params = {
  application: 'stelace-core'
}

if (process.env.INSTANCE_ID) {
  params.instanceId = process.env.INSTANCE_ID
}

const RoarrLogger = log.child(params)

// const PROD = process.env.NODE_ENV === 'production'

roarr

JSON logger for Node.js and browser.

BSD-3-Clause
Latest version published 8 months ago

Package Health Score

71 / 100
Full package analysis