UNPKG

@syncfusion/ej2-grids

Version:

Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel.

31 lines (30 loc) 778 B
/** * * `Logger` class */ import { IGrid } from '../base/interface'; export interface ILogger { log: (type: string | string[], args: Object) => void; } export interface CheckOptions { success: boolean; options?: Object; } export interface ItemDetails { type: string; logType: string; message?: string; check: (args: Object, parent: IGrid) => CheckOptions; generateMessage: (args: Object, parent: IGrid, checkOptions?: Object) => string; } export declare class Logger implements ILogger { parent: IGrid; constructor(parent: IGrid); getModuleName(): string; log(types: string | string[], args: Object): void; patchadaptor(): void; destroy(): void; } export declare const detailLists: { [key: string]: ItemDetails; };