MCPcopy Create free account
hub / github.com/android/ndk-samples / SetLogger

Function SetLogger

base/src/main/cpp/logging.cpp:174–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174LogFunction SetLogger(LogFunction&& logger) {
175 LogFunction old_logger = std::move(Logger());
176 Logger() = std::move(logger);
177 return old_logger;
178}
179
180AbortFunction SetAborter(AbortFunction&& aborter) {
181 AbortFunction old_aborter = std::move(Aborter());

Callers 1

InitLoggingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected