MCPcopy
hub / github.com/ineo6/hosts / disableLog

Function disableLog

src/log.ts:4–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import log from "log";
3
4export function disableLog() {
5 log.error.disable();
6 log.info.disable();
7}
8
9export function createLogger(silent?: Boolean) {
10 if (!silent) {

Callers 2

constructorMethod · 0.90
createLoggerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected