mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 10:34:18 +00:00
added detachLogger
method
This commit is contained in:
parent
faed0d8754
commit
f313a7340f
@ -130,10 +130,14 @@ export default class CoreAdapter {
|
|||||||
|
|
||||||
window.webContents.send("logger:new", {
|
window.webContents.send("logger:new", {
|
||||||
timestamp: new Date().getTime(),
|
timestamp: new Date().getTime(),
|
||||||
message: "Core adapter Logger attached",
|
message: "Core adapter attached...",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
detachLogger = () => {
|
||||||
|
this.loggerWindow = null
|
||||||
|
}
|
||||||
|
|
||||||
initialize = async () => {
|
initialize = async () => {
|
||||||
if (this.initialized) {
|
if (this.initialized) {
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user