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

Update dependency electron-log to v5 #481

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 25, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
electron-log ^4.4.6 -> ^5.0.0 age adoption passing confidence

Release Notes

megahertz/electron-log (electron-log)

v5.0.1

Compare Source

v5.0.0

Compare Source

Core
  • Now it's a time to use modern ES instead of ES5. It was a joy to use
    old-fashioned ES5, but since the library grows it becomes
    harder to follow its restrictions. Starting from v5 the library
    requires Node.js 14+ or Electron 13 at least.
  • Now a renderer process just sends log data to the main through IPC,
    so only the main logger can be configured. See
    initialize for more information
  • A new tranforms property is added for each transport. It allows to
    configure transformations preformed on message data. See
    transforms for more information.
  • log.create(logId) is replaced by log.create({ logId })
File transport
  • archiveLog options is renamed to archiveLogFn
  • resolvePath options is renamed to resolvePathFn
  • All logs are written to main.log file. If you want to write renderer
    logs to a separated file, you can do that by overriding resolvePathFn
Console transport
  • writeFn callback is added. By default, it just passes message.data to
    console.log function
Remote transport
  • onError is renamed to processErrorFn({ error, message, request })
  • transformBody is renamed to makeBodyFn({ logger, message, transport })
Electron event logger

To simplify app debugging the
Electron event logging
was implemented.


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

github-actions bot commented Feb 2, 2024

Stale pull request message

Copy link
Contributor Author

renovate bot commented Feb 10, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/electron-log-5.x branch February 10, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants