Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 441f4a434c34
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7d7694dde553
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jul 12, 2020

  1. Copy the full SHA
    d37c940 View commit details
  2. Merge pull request #2642 from pleroy/Error

    Log version and module information to ERROR
    pleroy authored Jul 12, 2020
    Copy the full SHA
    7d7694d View commit details
Showing with 8 additions and 8 deletions.
  1. +8 −8 ksp_plugin/interface.cpp
16 changes: 8 additions & 8 deletions ksp_plugin/interface.cpp
Original file line number Diff line number Diff line change
@@ -653,21 +653,21 @@ void __cdecl principia__InitGoogleLogging() {
<< message;
});

LOG(INFO) << "Initialized Google logging for Principia";
LOG(INFO) << "Principia version " << principia::base::Version
<< " built on " << principia::base::BuildDate
<< " by " << principia::base::CompilerName
<< " version " << principia::base::CompilerVersion
<< " for " << principia::base::OperatingSystem
<< " " << principia::base::Architecture;
LOG(ERROR) << "Initialized Google logging for Principia";
LOG(ERROR) << "Principia version " << principia::base::Version
<< " built on " << principia::base::BuildDate
<< " by " << principia::base::CompilerName
<< " version " << principia::base::CompilerVersion
<< " for " << principia::base::OperatingSystem
<< " " << principia::base::Architecture;
#if OS_WIN
MODULEINFO module_info;
memset(&module_info, 0, sizeof(module_info));
CHECK(GetModuleInformation(GetCurrentProcess(),
GetModuleHandle(TEXT("principia")),
&module_info,
sizeof(module_info)));
LOG(INFO) << "Base address is " << module_info.lpBaseOfDll;
LOG(ERROR) << "Base address is " << module_info.lpBaseOfDll;
#endif
}
}