import { createLogger as BunyanLogger } from 'bunyan' ; import { WriteStream } from 'fs' ; export function createBunyanLogger ( stream ) { return BunyanLogger ( { name : 'Bunyan Bench' , stream , level : 'info' , } ) ; }