@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
35 lines (34 loc) • 1.14 kB
TypeScript
import GirafeSingleton from '../../base/GirafeSingleton.js';
export default class LogManager extends GirafeSingleton {
initializeSingleton(): Promise<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;
}