UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

34 lines (33 loc) 1.14 kB
export declare class FrontEndLogger { private static _debug; private static _debugTimeStart; static sources: LogSource[]; static set debug(value: boolean); static debugLog(message: string, source: LogSource, level?: LogLevel): void; static extendNativeLog(method: LogLevel): void; private static _getMessageColor; static init: (enabled: boolean, logLevels?: LogLevel[], sources?: LogSource[]) => void; } export declare enum LogLevel { Trace = "trace", Log = "log", Warning = "warn", Error = "error" } export declare enum LogSource { ViolationService = "ViolationService", InputManager = "InputManager", System = "System", Common = "Common", SelectionHandler = "SelectionHandler", CommandManager = "CommandManager" } export declare namespace LogClr { function red(str: string): string; function green(str: string): string; function blue(str: string): string; function white(str: string): string; function cyan(str: string): string; function magenta(str: string): string; function yellow(str: string): string; }