How to use fancy-log.warn:
GitHub: RubisetCie/vscodius
442 443 444 445 446 447 448 449 450 451
fancyLog.error(error); }); } if (Array.isArray(stats.warnings)) { stats.warnings.forEach((warning) => { fancyLog.warn(warning); }); } } }
How to use fancy-log.apply:
GitHub: gdh1995/vimium-c
16 17 18 19 20 21 22 23 24 25 26 27 28 29
var gulpfile = require("../gulpfile") var Transform = require("stream").Transform var DEST, JSDEST; function print() { logger.apply(null, arguments) } exports.NeedCommitInfo = process.env.BUILD_NeedCommit === "1"; exports.set_dest = function (_newDest, _newJSDest) { [DEST, JSDEST] = arguments }
231
0
24
See more examples
How to use fancy-log.error:
GitHub: XKNX/knx-frontend
60 61 62 63 64 65 66 67 68 69
watcher.on("event", (event) => { if (event.code === "BUNDLE_END") { log(`Build done @ ${new Date().toLocaleTimeString()}`); } else if (event.code === "ERROR") { log.error(event.error); } else if (event.code === "END") { if (startedHttp || !serveOptions) { return; }
How to use fancy-log.info:
GitHub: XKNX/knx-frontend
35 36 37 38 39 40 41 42 43 44 45
public: serveOptions.root, }) ); server.listen(serveOptions.port, serveOptions.networkAccess ? "0.0.0.0" : undefined, () => { log.info(`Available at http://localhost:${serveOptions.port}`); open(`http://localhost:${serveOptions.port}`); }); }