This package is meant to be used with Weenie. If you are not using Weenie but
are interested in this logger, try @wymp/simple-logger-console
,
as all this package does is wrap that package in a weenie-compatible function.
import { Weenie } from "@wymp/weenie-base";
import { logger } from "@wymp/weenie-logger";
const config = {
logger: {
logLevel: 'error',
}
}
const deps = Weenie({ config })
.and(logger);
deps.log.debug(`This won't output anything because it's at debug level.`);
deps.log.error(`This will.`);
Generated using TypeDoc