export declare function registerLog(route: string[]): (message: string, data?: any) => void;