UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

41 lines (40 loc) 1.33 kB
import GirafeSingleton from '../../base/GirafeSingleton.js'; export default class LogManager extends GirafeSingleton { private readonly defaultDebug; private readonly defaultLog; private readonly defaultInfo; private readonly defaultWarn; private readonly defaultError; private readonly defaultAssert; initLogging(): void; /** * Write log to output if the current loglevel is debug, info, warn or error * @returns true if the log was written, false instead */ private debug; /** * Write log to output if the current loglevel is info, warn or error * @returns true if the log was written, false instead */ private log; /** * Write log to output if the current loglevel is info, warn or error * @returns true if the log was written, false instead */ private info; /** * Write log to output if the current loglevel is warn or error * @returns true if the log was written, false instead */ private warn; /** * Write log to output if the current loglevel is error * @returns true if the log was written, false instead */ private error; /** * Write log to output if the current loglevel is error * @returns true if the log was written, false instead */ private assert; }