mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Merge pull request #439 from paullouisageneau/change-plog-check
Change plog check
This commit is contained in:
@ -39,7 +39,7 @@ enum class LogLevel { // Don't change, it must match plog severity
|
||||
typedef std::function<void(LogLevel level, string message)> LogCallback;
|
||||
|
||||
RTC_CPP_EXPORT void InitLogger(LogLevel level, LogCallback callback = nullptr);
|
||||
#ifdef PLOG
|
||||
#ifdef PLOG_DEFAULT_INSTANCE_ID
|
||||
RTC_CPP_EXPORT void InitLogger(plog::Severity severity, plog::IAppender *appender = nullptr);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user