custom-print-multiple.js
This file
Path
test/fixtures/nested/custom-print-multiple.js
10 lines · 234 bytes · JavaScript
Last changed by
Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
History of this fileTake it
1234567891011export const getOptions = ({type, fdNumber, secondFdNumber}) => ({ verbose: { [fdNumber](verboseLine, verboseObject) { if (verboseObject.type === type) { console.warn(verboseLine); } }, [secondFdNumber]() {}, },});