We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef8ff6 commit d48061cCopy full SHA for d48061c
1 file changed
src/compiler/compiler.ts
@@ -87,7 +87,7 @@ export function compile(code: Buffer | string, options: CompilerOptions = {}) {
87
if (isLoggerEnabled) {
88
const MAX_LOG_SIZE = 100 * 1024; // 100KB
89
if (firstPass.length <= MAX_LOG_SIZE) {
90
- console.log(firstPass.toString());
+ logger(firstPass.toString());
91
} else {
92
logger(
93
`firstPass buffer too large to log in full (${firstPass.length} bytes). Preview: ` +
0 commit comments