Bump electron-log from 4.4.8 to 5.0.1
Created by: dependabot[bot]
Bumps electron-log from 4.4.8 to 5.0.1.
Changelog
Sourced from electron-log's changelog.
Changelog
5.0.0
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 bylog.create({ logId })
File transport
archiveLog
options is renamed toarchiveLogFn
resolvePath
options is renamed toresolvePathFn
- 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 passesmessage.data
toconsole.log
functionRemote transport
onError
is renamed toprocessErrorFn({ error, message, request })
transformBody
is renamed tomakeBodyFn({ logger, message, transport })
Electron event logger
To simplify app debugging the Electron event logging was implemented.
4.4.0
- Disable auto-loading of electron-log in the main process for using by ipc transport
4.3.0
- Add
transport.file.inspectOptions
transport.file.depth
is deprecated4.2.3
... (truncated)
Commits
-
2bf43a5
5.0.1 -
a215752
fix: Remove electron from package.json:engine closes #372 -
19bb2a1
chore: Remove beta references from docs -
8ae8988
5.0.0 -
440444c
chore: Update changelog -
ea7f7ce
fix(file): Prevent creating default log dir, closes #368 -
97f0174
chore(e2e): Increase e2e timeouts -
d1c7969
fix(console): Inconsistent console transport API, closes #367 -
32e5ff8
fix(event): console-message should pass only error messages -
4bd68a1
chore(event): Add properties to EventLogger definitions - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)