1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-10-12 14:01:58 +00:00
Fixed: Issue with Recommended Channels query.
Changed: Add information on loaded add-ons to generated logs.
API Changed: Add the missing utility modules to `FrankerFaceZ.utilities` exports, for use in add-ons.
API Changed: Make the Dialog class a bit more flexible.
This commit is contained in:
SirStendec 2019-06-05 00:30:45 -04:00
parent a0bb84deef
commit 8582626269
5 changed files with 55 additions and 24 deletions

View file

@ -8,7 +8,7 @@ const RAVEN_LEVELS = {
};
export default class Logger {
export class Logger {
constructor(parent, name, level, raven) {
this.root = parent ? parent.root : this;
this.parent = parent;
@ -116,4 +116,6 @@ Logger.DEBUG = 1;
Logger.INFO = 2;
Logger.WARN = 4;
Logger.ERROR = 8;
Logger.OFF = 99;
Logger.OFF = 99;
export default Logger;