1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.stdoutLogger = void 0;
|
4 | const js_lib_1 = require("@naturalcycles/js-lib");
|
5 | const index_1 = require("../index");
|
6 | /**
|
7 | * CommonLogger that logs to process.stdout directly (bypassing console.log).
|
8 | */
|
9 | exports.stdoutLogger = (0, js_lib_1.commonLoggerCreate)((_level, args) => {
|
10 | process.stdout.write(args.map(a => (0, index_1.inspectAny)(a)).join(' ') + '\n');
|
11 | });
|