Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// @flow
import Logger from 'roarr';
export default Logger.child({
connectionId: '1',
poolId: '1',
});
// @flow
import Logger from 'roarr';
export default Logger.child({
package: 'slonik-utilities',
});
// @flow
import Roarr from 'roarr';
export default Roarr.child({
package: 'lightship',
});
// @flow
import Logger from 'roarr';
export default Logger.child({
package: 'postloader',
});
// @flow
import Roarr from 'roarr';
const Logger = Roarr
.child({
package: 'surgeon',
});
export default Logger;
// @flow
import Logger from 'roarr';
export default Logger.child({
package: 'slonik',
});
// @flow
import Roarr from 'roarr';
export default Roarr.child({
package: 'extract-time',
});
// @flow
import Roarr from 'roarr';
export default Roarr.child({
package: 'extract-date',
});
// @flow
import Roarr from 'roarr';
const Logger = Roarr
.child({
program: 'global-agent',
});
export default Logger;
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'