@parkersoftware/whoson-lib
Version:
Useful whoson related library
28 lines (27 loc) • 1.08 kB
TypeScript
/**
* base logging class for the connection library and hooks
* override error, log and warn to provide your own error methods.
*/
export declare class Logging {
/**
* Base error logging method for the connection library and hooks
* override this to perform external logging
* @param message the error message
* @param optionalParams additional objects to include
*/
static error(message?: any, ...optionalParams: any[]): void;
/**
* Base logging method for the connection library and hooks
* override this to perform external logging
* @param message the log message
* @param optionalParams additional objects to include
*/
static log(message?: any, ...optionalParams: any[]): void;
/**
* Base warning logging method for the connection library and hooks
* override this to perform external logging
* @param message the warning message
* @param optionalParams additional objects to include
*/
static warn(message?: any, ...optionalParams: any[]): void;
}