Skip to content

Commit 2bb811a

Browse files
committed
use default build logger
1 parent bc703e1 commit 2bb811a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mcp-custom-template-js/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Template } from 'e2b';
1+
import { Template, defaultBuildLogger } from 'e2b';
22
import { template, alias } from './template';
33

44
async function buildTemplate() {
@@ -8,7 +8,7 @@ async function buildTemplate() {
88
alias,
99
cpuCount: 8,
1010
memoryMB: 8192,
11-
onBuildLogs: console.log,
11+
onBuildLogs: defaultBuildLogger(),
1212
});
1313

1414
console.log('Custom template built successfully');

0 commit comments

Comments
 (0)