update spdlog

This commit is contained in:
Joao Moreno 2017-11-29 18:08:03 +01:00
parent 0228f712a2
commit d3fb016d30
3 changed files with 7 additions and 6 deletions

View file

@ -37,7 +37,7 @@
"node-pty": "0.7.3",
"nsfw": "1.0.16",
"semver": "4.3.6",
"spdlog": "^0.1.1",
"spdlog": "^0.1.2",
"v8-inspect-profiler": "^0.0.6",
"vscode-chokidar": "1.6.2",
"vscode-debugprotocol": "1.25.0-pre.0",

View file

@ -20,8 +20,8 @@ export class SpdLogService implements ILogService {
processName: string,
@IEnvironmentService environmentService: IEnvironmentService
) {
// const logfilePath = path.join(environmentService.userDataPath, 'logs', processName);
this.logger = new RotatingLogger(processName, 'LOG', 1024 * 1024 * 5, 6);
const logfilePath = path.join(environmentService.userDataPath, 'logs', processName);
this.logger = new RotatingLogger(processName, logfilePath, 1024 * 1024 * 5, 6);
}
trace(message: string, ...args: any[]): void {

View file

@ -5038,11 +5038,12 @@ sparkles@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/sparkles/-/sparkles-1.0.0.tgz#1acbbfb592436d10bbe8f785b7cc6f82815012c3"
spdlog@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/spdlog/-/spdlog-0.1.1.tgz#6ec5b59166c03e162aa7b329a9d2c43a281dcc38"
spdlog@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/spdlog/-/spdlog-0.1.2.tgz#c9a00a84711f1ba698a0137d09eb6c8bf22683e9"
dependencies:
bindings "^1.3.0"
mkdirp "^0.5.1"
nan "^2.8.0"
spdx-correct@~1.0.0: