Skip to content

Commit

Permalink
Remove logger name from log message (#4)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #4

Reviewed By: yutingye

Differential Revision: D58614963
  • Loading branch information
jeongseok-meta authored and facebook-github-bot committed Jun 14, 2024
1 parent 9445082 commit f543aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion momentum/common/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void setLogLevel(LogLevel level) {
arvr::logging::getChannel(DEFAULT_LOG_CHANNEL).setLevel(toArvrLogLevel(level));
#else
(void)level;
std::cout << "Momentum was not built with XR_LOGGER, so setting log level has no effect.\n";
MT_LOGW("Setting log level is not supported.\n");
#endif
}

Expand Down
2 changes: 1 addition & 1 deletion momentum/gui/rerun/logging_redirect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bool redirectLogsToRerun(const rerun::RecordingStream& rec) {
return (handle != 0);
#else
(void)rec;
std::cout << "Momentum was not built with XR_LOGGER, so logs will not be redirected to Rerun.\n";
MT_LOGW("Log redirection is not supported.\n");
return false;
#endif
}
Expand Down

0 comments on commit f543aa0

Please sign in to comment.