mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
plugins: Give each plugin a plugin-specific logger object
This makes it possible for plugins to stop assuming that log4js is available at `ep_etherpad-lite/node_modules/log4js`.
This commit is contained in:
parent
daee90d2af
commit
1513932ca1
3 changed files with 10 additions and 2 deletions
|
@ -49,6 +49,8 @@
|
|||
and whether the user only has read-only access.
|
||||
* The `handleMessageSecurity` server-side hook can now be used to grant write
|
||||
access for the current message only.
|
||||
* The `init_<pluginName>` server-side hooks have a new `logger` context
|
||||
property that plugins can use to log messages.
|
||||
|
||||
### Compatibility changes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue