Skip to content

Commit 49a26f3

Browse files
committed
chore(logging): use debug level
1 parent 8ddc1a2 commit 49a26f3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

electron/main/layout/layout.service.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class LayoutServiceImpl implements LayoutService {
1515
const filePath = this.getLayoutPath(layoutName);
1616
const fileExists = await fs.pathExists(filePath);
1717

18-
logger.info('getting layout', {
18+
logger.debug('getting layout', {
1919
layoutName,
2020
filePath,
2121
fileExists,
@@ -53,7 +53,7 @@ export class LayoutServiceImpl implements LayoutService {
5353

5454
const filePath = this.getLayoutPath(layoutName);
5555

56-
logger.info('saving layout', {
56+
logger.debug('saving layout', {
5757
layoutName,
5858
filePath,
5959
});
@@ -73,7 +73,7 @@ export class LayoutServiceImpl implements LayoutService {
7373
const filePath = this.getLayoutPath(layoutName);
7474
const fileExists = await fs.pathExists(filePath);
7575

76-
logger.info('deleting layout', {
76+
logger.debug('deleting layout', {
7777
layoutName,
7878
filePath,
7979
fileExists,
@@ -84,6 +84,10 @@ export class LayoutServiceImpl implements LayoutService {
8484
}
8585

8686
await fs.remove(filePath);
87+
88+
logger.debug('deleted layout', {
89+
layoutName,
90+
});
8791
}
8892

8993
protected getLayoutPath(name: string): string {

0 commit comments

Comments
 (0)