MCPcopy Create free account
hub / github.com/MegEngine/MegCC / SetLogLevel

Method SetLogLevel

compiler/lib/Common/Logger.cpp:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8static bool g_is_assert_throw = false;
9
10void megcc::SetLogLevel(LogLevel level) {
11 GlobalLogLevel = level;
12}
13
14void megcc::setAssertThrow(bool is_throw) {
15 g_is_assert_throw = is_throw;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected