refactor for apple

pull/1638/head
Jeff Becker 3 years ago
parent 7d07dea235
commit 2d5faccb9f
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -6,7 +6,7 @@ namespace llarp::apple
NSLogStream::PreLog(
std::stringstream& ss,
LogLevel lvl,
const char* fname,
std::string_view fname,
int lineno,
const std::string& nodename) const
{
@ -17,7 +17,7 @@ namespace llarp::apple
}
void
NSLogStream::Print(LogLevel, const char*, const std::string& msg)
NSLogStream::Print(LogLevel, std::string_view, const std::string& msg)
{
ns_logger(msg.c_str());
}

@ -16,15 +16,15 @@ namespace llarp::apple
PreLog(
std::stringstream& s,
LogLevel lvl,
const char* fname,
std::string_view fname,
int lineno,
const std::string& nodename) const override;
void
Print(LogLevel lvl, const char* tag, const std::string& msg) override;
Print(LogLevel lvl, std::string_view tag, const std::string& msg) override;
void
PostLog(std::stringstream& ss) const override
PostLog(std::stringstream&) const override
{}
void

Loading…
Cancel
Save