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:
parent
b1e8cc22bd
commit
dd7796515f
3 changed files with 56 additions and 7 deletions
|
@ -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&);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue