History

Add V8 logging category

Rename logging category to overte Make all V8 code use logging categories

Dale Glass committed 3 years ago

Commit 0fc2ab81 parent 633319c10 files · +211 −161Browse files

Showing the changes to libraries/script-engine/src/v8/ScriptEngineLoggingV8.cpp (1 of 10 files). Show all

Unified · Split

libraries/script-engine/src/v8/ScriptEngineLoggingV8.cpp+17−0
@@ -0,0 +1,17 @@
1+//
2+// ScriptEngineLoggingV8.cpp
3+// libraries/script-engine/src/v8
4+//
5+// Created by Dale Glass on 06/03/2023
6+// Copyright 2023 Overte e.V.
7+//
8+// Distributed under the Apache License, Version 2.0.
9+// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10+//
11+
12+#include "ScriptEngineLoggingV8.h"
13+
14+Q_LOGGING_CATEGORY(scriptengine_v8, "overte.scriptengine.v8")
15+Q_LOGGING_CATEGORY(scriptengine_module_v8, "overte.scriptengine.module.v8")
16+Q_LOGGING_CATEGORY(scriptengine_script_v8, "overte.scriptengine.script.v8")
17+