Merge pull request #994 from romainthomas/fix/README

Fix typo in Android logger
This commit is contained in:
Gabi Melman 2019-02-13 11:51:28 +02:00 committed by GitHub
commit c598b2fa2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,7 +313,7 @@ void syslog_example()
void android_example() void android_example()
{ {
std::string tag = "spdlog-android"; std::string tag = "spdlog-android";
auto android_logger = spdlog::android_logger("android", tag); auto android_logger = spdlog::android_logger_mt("android", tag);
android_logger->critical("Use \"adb shell logcat\" to view this message."); android_logger->critical("Use \"adb shell logcat\" to view this message.");
} }
``` ```