mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -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
|
@ -56,7 +56,10 @@ Called from: `src/static/js/pluginfw/plugins.js`
|
|||
|
||||
Run during startup after the named plugin is initialized.
|
||||
|
||||
Context properties: None
|
||||
Context properties:
|
||||
|
||||
* `logger`: An object with the following `console`-like methods: `debug`,
|
||||
`info`, `log`, `warn`, `error`.
|
||||
|
||||
## `expressPreSession`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue