logging.log is also a constructor
This commit is contained in:
parent
f192a3f355
commit
5c3a568e2c
1 changed files with 1 additions and 5 deletions
|
@ -43,11 +43,7 @@ export default class logging {
|
|||
}
|
||||
|
||||
static log(message) {
|
||||
console.log(message);
|
||||
|
||||
try {
|
||||
M.toast({ text: message });
|
||||
} catch (err) {}
|
||||
return(new logging(message));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue