Skip to content

Commit

Permalink
reduce log on release build; change default color to blue
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Dec 21, 2024
1 parent 04c6277 commit 7e14f3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fcitx5-webview
4 changes: 4 additions & 0 deletions src/fcitx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ EMSCRIPTEN_KEEPALIVE void reload() {
int main() {
umask(007); // Fix config file's mode
StandardPath::global().syncUmask();
#ifdef NDEBUG
Log::setLogRule("*=4,notimedate");
#else
Log::setLogRule("*=5,notimedate");
#endif
EventLoop::setEventLoopFactory(
[] { return std::make_unique<JSEventLoop>(); });
instance = std::make_unique<Instance>(0, nullptr);
Expand Down

0 comments on commit 7e14f3b

Please sign in to comment.