Logging

E2B package logs only warnings & errors to the console by default. Below is an example of how to fully customize the logging levels. Feel free to override the logger with your own implementation with debug, info, warn, and error methods.
import { Sandbox } from 'e2b'

const logger = {
  debug: console.debug, // log debug messages, in default logger this is noop
  info: console.info, // log info messages, in default logger this is noop
  // don't forget to also specify warn & error handlers, otherwise they won't be logged when overriding the logger
  warn: console.warn,
  error: console.error,
}

const sandbox = await Sandbox.create({
  template: 'base',
  apiKey: process.env.E2B_API_KEY,
  logger, 
})