1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00

LibJS: Add console.{debug,info,warn,error}()

This commit is contained in:
Linus Groh 2020-04-12 17:00:06 +01:00 committed by Andreas Kling
parent b1e8cc22bd
commit dd7796515f
3 changed files with 56 additions and 7 deletions

View file

@ -39,6 +39,10 @@ private:
virtual const char* class_name() const override { return "ConsoleObject"; }
static Value log(Interpreter&);
static Value debug(Interpreter&);
static Value info(Interpreter&);
static Value warn(Interpreter&);
static Value error(Interpreter&);
static Value trace(Interpreter&);
};