interface LightLogger { debug ( obj ,
message ) : void ; debug ( message ) : void ; debug ( error ) : void ; debug ( value ,
message ? ) : void ; error ( obj ,
message ) : void ; error ( message ) : void ; error ( error ) : void ; error ( value ,
message ? ) : void ; info ( obj ,
message ) : void ; info ( message ) : void ; info ( error ) : void ; info ( value ,
message ? ) : void ; trace ( obj ,
message ) : void ; trace ( message ) : void ; trace ( error ) : void ; trace ( value ,
message ? ) : void ; warn ( obj ,
message ) : void ; warn ( message ) : void ; warn ( error ) : void ; warn ( value ,
message ? ) : void ; } Defined in cheminfoTypes.d.ts:191 Methods debug debug ( obj , message ) : void Parameters obj : Record < string , unknown > message : string Returns void Defined in cheminfoTypes.d.ts:197 debug ( message ) : void Returns void Defined in cheminfoTypes.d.ts:198 debug ( error ) : void Returns void Defined in cheminfoTypes.d.ts:199 debug ( value , message ? ) : void Parameters value : unknown Optional
message : string Returns void Defined in cheminfoTypes.d.ts:200 error error ( obj , message ) : void Parameters obj : Record < string , unknown > message : string Returns void Defined in cheminfoTypes.d.ts:212 error ( message ) : void Returns void Defined in cheminfoTypes.d.ts:213 error ( error ) : void Returns void Defined in cheminfoTypes.d.ts:214 error ( value , message ? ) : void Parameters value : unknown Optional
message : string Returns void Defined in cheminfoTypes.d.ts:215 info info ( obj , message ) : void Parameters obj : Record < string , unknown > message : string Returns void Defined in cheminfoTypes.d.ts:202 info ( message ) : void Returns void Defined in cheminfoTypes.d.ts:203 info ( error ) : void Returns void Defined in cheminfoTypes.d.ts:204 info ( value , message ? ) : void Parameters value : unknown Optional
message : string Returns void Defined in cheminfoTypes.d.ts:205 trace trace ( obj , message ) : void Parameters obj : Record < string , unknown > message : string Returns void Defined in cheminfoTypes.d.ts:192 trace ( message ) : void Returns void Defined in cheminfoTypes.d.ts:193 trace ( error ) : void Returns void Defined in cheminfoTypes.d.ts:194 trace ( value , message ? ) : void Parameters value : unknown Optional
message : string Returns void Defined in cheminfoTypes.d.ts:195 warn warn ( obj , message ) : void Parameters obj : Record < string , unknown > message : string Returns void Defined in cheminfoTypes.d.ts:207 warn ( message ) : void Returns void Defined in cheminfoTypes.d.ts:208 warn ( error ) : void Returns void Defined in cheminfoTypes.d.ts:209 warn ( value , message ? ) : void Parameters value : unknown Optional
message : string Returns void Defined in cheminfoTypes.d.ts:210
Many libraries use a logger interface to log information about the processing. This logger is expected to be compatible not only with the one from the
pino
library but also with the defaultconsole
. This means that the library can output logs by default to the console and the user can replace it with a custom logger that implements this interface.