1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

LibJS: Print console.{debug,error,info,log,warn} to system debug log

This commit is contained in:
Andreas Kling 2021-02-21 21:11:49 +01:00
parent 0bb2729423
commit 7f66a4e3ba
2 changed files with 12 additions and 0 deletions

View file

@ -47,6 +47,8 @@ public:
GlobalObject& global_object() { return m_global_object; }
const GlobalObject& global_object() const { return m_global_object; }
VM& vm();
HashMap<String, unsigned>& counters() { return m_counters; }
const HashMap<String, unsigned>& counters() const { return m_counters; }