2019-10-08 19:20:12 +08:00
|
|
|
declare module 'probe.gl' {
|
|
|
|
class Log {
|
|
|
|
constructor(options: { id: string });
|
|
|
|
|
2019-11-25 15:27:56 +08:00
|
|
|
priority: number;
|
2019-10-08 19:20:12 +08:00
|
|
|
enable(enabled?: boolean): Log;
|
|
|
|
|
2019-11-25 15:27:56 +08:00
|
|
|
debug(priority: number, message: string): () => any;
|
|
|
|
info(priority: number, message: string): () => any;
|
2019-10-08 19:20:12 +08:00
|
|
|
warn(message: string): () => any;
|
|
|
|
error(message: string): () => any;
|
2019-11-25 15:27:56 +08:00
|
|
|
probe(priority: number, message: string): () => any;
|
2019-10-08 19:20:12 +08:00
|
|
|
}
|
2020-04-24 17:01:12 +08:00
|
|
|
}
|