DefaultLogger: Logger = defaultLogger

The default logger - this should be the main top level logger used in scripts

This logger defaults to log level 'debug' and is named 'default'. For client scripts, it logs to the browser console (not NS execution log because it incurs significant overhead). For server-side scripts it logs to the NS Exectuion Log.

import * as LogManager from "./NFT/EC_Logger"

LogManager.addAppender(new LogManager.ExecutionLogAppender())
import * as LogManager from "./NFT/EC_Logger"
const log = LogManager.DefaultLogger
log.debug('hello world')