@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
16 lines (15 loc) • 701 B
TypeScript
import { LogLevel, VerificationStore } from '../../types/types';
export declare const newRelicPageAction: (eventName: string, attributes?: {}) => void;
export declare const logger: {
error: (err: Error | string, errorMessageGroup?: string, additionalUsefulAttributes?: {
[a: string]: string;
}) => Promise<void>;
warn: (...args: any[]) => void;
log: (...args: any[]) => void;
info: (...args: any[]) => void;
/** @deprecated use newRelicPageAction() instead */
logAPIResponseTime: (url: string, time: number) => void;
setLogLevel: (desiredLogLevel: LogLevel) => void;
setPrefix: (thisPrefix: string) => void;
init: (store: VerificationStore) => void;
};