main: Remove log compatibility
global.log() hasn't been used since 3.6. It seems extremely unlikely that any extensions are still using it, not least because `log()` is more convenient. Time to move on. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2830>
This commit is contained in:
parent
b854c1bdbb
commit
f07bf7b1b6
@ -169,10 +169,6 @@ function _loggingFunc(...args) {
|
|||||||
async function start() {
|
async function start() {
|
||||||
globalThis.log = _loggingFunc;
|
globalThis.log = _loggingFunc;
|
||||||
|
|
||||||
// These are here so we don't break compatibility.
|
|
||||||
global.logError = globalThis.log;
|
|
||||||
global.log = globalThis.log;
|
|
||||||
|
|
||||||
// Chain up async errors reported from C
|
// Chain up async errors reported from C
|
||||||
global.connect('notify-error', (global, msg, detail) => {
|
global.connect('notify-error', (global, msg, detail) => {
|
||||||
notifyError(msg, detail);
|
notifyError(msg, detail);
|
||||||
|
Loading…
Reference in New Issue
Block a user