@omnia/foundation
Version:
Provide omnia foundation typings and tooling work on client side for omnia extension.
16 lines (15 loc) • 500 B
TypeScript
import { Enums } from './Enums';
export declare module Logging {
enum LogTypes {
Info = 0,
Warning = 1,
Error = 2,
}
/**
* Logs the text to the console
*/
function SetLogger(logger: any): void;
function Log(itemToLog: any, logType: Enums.LogTypes): void;
function LogTime(message: any, start?: number): void;
function LogTimeWithThresholds(message: string, start: number, maxTimeWarning: number, maxTimeError: number): void;
}