diff options
author | Joao Moreno <joao.moreno@microsoft.com> | 2019-11-07 12:17:21 +0300 |
---|---|---|
committer | Joao Moreno <joao.moreno@microsoft.com> | 2019-11-07 12:17:26 +0300 |
commit | fe515c2843683b78ad8e888bb25e42cb73799d4a (patch) | |
tree | 1c1fd56e944f079f8b0f860cc1793137bbb61f5c /src/typings | |
parent | dfbd59cf49ae685a09d98ff15cfa90042a3d9cff (diff) |
upgrade spdlog
related to #83421
Diffstat (limited to 'src/typings')
-rw-r--r-- | src/typings/spdlog.d.ts | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/typings/spdlog.d.ts b/src/typings/spdlog.d.ts deleted file mode 100644 index bf6bb9c3dfd..00000000000 --- a/src/typings/spdlog.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - -declare module 'spdlog' { - - export const version: string; - export function setAsyncMode(bufferSize: number, flushInterval: number): void; - export function createRotatingLogger(name: string, filename: string, filesize: number, filecount: number): RotatingLogger; - export function createRotatingLoggerAsync(name: string, filename: string, filesize: number, filecount: number): Promise<RotatingLogger>; - - export enum LogLevel { - CRITICAL, - ERROR, - WARN, - INFO, - DEBUG, - TRACE, - OFF - } - - export class RotatingLogger { - constructor(name: string, filename: string, filesize: number, filecount: number); - - trace(message: string): void; - debug(message: string): void; - info(message: string): void; - warn(message: string): void; - error(message: string): void; - critical(message: string): void; - setLevel(level: number): void; - clearFormatters(): void; - /** - * A synchronous operation to flush the contents into file - */ - flush(): void; - drop(): void; - } -}
\ No newline at end of file |