Skip to content

Commit

Permalink
Use our own domain for macOS logger
Browse files Browse the repository at this point in the history
Summary:
We were constructing the logger with com.hermes, but the project domain is
hermesengine.dev.

Reviewed By: dulinriley

Differential Revision: D20515725

fbshipit-source-id: 086b51038be99627dfdd98f25c9cc66d36c0f8df
  • Loading branch information
willholen authored and facebook-github-bot committed Mar 18, 2020
1 parent 9c61c1a commit b9ffba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Platform/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void hermesLog(const char *componentName, const char *fmt, ...) {
#ifdef __ANDROID__
__android_log_vprint(ANDROID_LOG_INFO, componentName, fmt, args);
#elif defined(__APPLE__)
static os_log_t hermesLogger = os_log_create("com.hermes", "Default");
static os_log_t hermesLogger = os_log_create("dev.hermesengine", "Default");
// Need to make a copy in order to do the vsprintf trick.
va_list argsCopy;
va_copy(argsCopy, args);
Expand Down

0 comments on commit b9ffba1

Please sign in to comment.