cui-light
Version:
cUI light framework for the web
15 lines (14 loc) • 400 B
JavaScript
import { CuiLogger } from "../utils/logger";
import { STATICS } from "../utils/statics";
/**
*
*/
export class CuiLoggerFactory {
/**
* Gets new instance of component focused logger
* @param name - component name
*/
static get(name, logLevel) {
return new CuiLogger(name, logLevel !== null && logLevel !== void 0 ? logLevel : STATICS.logLevel);
}
}