Skip to content

fix(deps): update dependency electron-log to v5 #91

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2024

This PR contains the following updates:

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

Release Notes

megahertz/electron-log (electron-log)

v5.2.3

Compare Source

v5.2.2

Compare Source

v5.2.0

Compare Source

  • fix:
    #​436 log.log
    isn't bound to log.info. Previously, it was processed with non-existent
    log level.

v5.1.7

Compare Source

v5.1.6

Compare Source

v5.1.5

Compare Source

v5.1.4

Compare Source

v5.1.2

Compare Source

v5.1.1

Compare Source

v5.1.0

Compare Source

  • New entry point for NW.js / Node.js apps: 'electron-log/node'

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

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 - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/electron-log-5.x branch from 1f6ac80 to 1d83cbb Compare February 25, 2024 13:33
@renovate renovate bot force-pushed the renovate/electron-log-5.x branch from 1d83cbb to c3a5669 Compare February 25, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants