forked from waja/action-debian-package
update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
9
node_modules/pino/test/fixtures/broken-pipe/basic.js
generated
vendored
Normal file
9
node_modules/pino/test/fixtures/broken-pipe/basic.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
'use strict'
|
||||
|
||||
global.process = { __proto__: process, pid: 123456 }
|
||||
Date.now = function () { return 1459875739796 }
|
||||
require('os').hostname = function () { return 'abcdefghijklmnopqr' }
|
||||
|
||||
const pino = require('../../..')()
|
||||
|
||||
pino.info('hello world')
|
10
node_modules/pino/test/fixtures/broken-pipe/destination.js
generated
vendored
Normal file
10
node_modules/pino/test/fixtures/broken-pipe/destination.js
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
'use strict'
|
||||
|
||||
global.process = { __proto__: process, pid: 123456 }
|
||||
Date.now = function () { return 1459875739796 }
|
||||
require('os').hostname = function () { return 'abcdefghijklmnopqr' }
|
||||
|
||||
const pino = require('../../..')
|
||||
const logger = pino(pino.destination())
|
||||
|
||||
logger.info('hello world')
|
12
node_modules/pino/test/fixtures/broken-pipe/extreme.js
generated
vendored
Normal file
12
node_modules/pino/test/fixtures/broken-pipe/extreme.js
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
'use strict'
|
||||
|
||||
global.process = { __proto__: process, pid: 123456 }
|
||||
Date.now = function () { return 1459875739796 }
|
||||
require('os').hostname = function () { return 'abcdefghijklmnopqr' }
|
||||
|
||||
const pino = require('../../..')
|
||||
const logger = pino(pino.extreme())
|
||||
|
||||
for (let i = 0; i < 1000; i++) {
|
||||
logger.info('hello world')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue