@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
46 lines (45 loc) • 1.17 kB
TypeScript
/**
* Omnia Developer Console
* @class Console
*/
export declare class Console {
private static onLogAdded;
/**
* Map of named measurement point's and start time'
*/
private static timeMeasurement;
/**
* Logs the object with logLevel.debug
*/
static logDebug(item: any): void;
/**
* Logs the object with logLevel.info
*/
static logInfo(item: any): void;
/**
* Logs the object with logLevel.warning
*/
static logWarn(item: any): void;
/**
* Logs the object with logLevel.error
*/
static logError(item: any): void;
/**
* Start time messurment for a named messurment
* (Only if window.href contains ?debug=true)
*/
static logDebugTimeStart(uniqueMeasurementName: string): void;
/**
* Logs the time since the start measurement point was created
* (Only if window.href contains ?debug=true)
*/
static logDebugTimeMeasurement(uniqueMeasurementName: string, logMsg: string): void;
/**
* Logs a todo task to be fixed later
*/
static logTodo(title: string): void;
/**
* Appends item to the log
*/
private static log;
}