Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(shared): create electron-log wrapper #1692

Merged
merged 7 commits into from
Jan 2, 2025
Merged

refactor(shared): create electron-log wrapper #1692

merged 7 commits into from
Jan 2, 2025

Conversation

setchy
Copy link
Member

@setchy setchy commented Dec 28, 2024

@setchy setchy added this to the Release 5.18.0 milestone Dec 28, 2024
@github-actions github-actions bot added the refactor Refactoring of existing feature label Dec 28, 2024
@setchy setchy changed the title refactor: extract error logger helper refactor: extract logger helper Dec 29, 2024
@setchy setchy changed the title refactor: extract logger helper refactor(shared): extract logger helper Dec 29, 2024
@setchy setchy changed the title refactor(shared): extract logger helper refactor(shared): extract electron-log wrapper Dec 29, 2024
@setchy setchy changed the title refactor(shared): extract electron-log wrapper refactor(shared): create electron-log wrapper Dec 29, 2024
@setchy setchy merged commit 0e8d274 into main Jan 2, 2025
12 checks passed
@setchy setchy deleted the refactor/logger branch January 2, 2025 17:38
@@ -41,7 +43,11 @@ export function openLogsDirectory() {
const logDirectory = path.dirname(log.transports.file?.getFile()?.path);

if (!logDirectory) {
log.error('Could not find log directory!');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it helped with consistently immediately, too :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely! Great suggestion

Copy link
Collaborator

@bmulholland bmulholland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactoring of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants