mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1227030 - Change log module to LazyLogModule with a more self-explantory name. r=seanlin
This commit is contained in:
parent
d609ec7f0c
commit
333c32f90f
@ -38,14 +38,11 @@ using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
using namespace mozilla::services;
|
||||
|
||||
inline static PRLogModuleInfo*
|
||||
GetPresentationSessionInfoLog()
|
||||
{
|
||||
static PRLogModuleInfo* log = PR_NewLogModule("PresentationSessionInfo");
|
||||
return log;
|
||||
}
|
||||
|
||||
static LazyLogModule gPresentationSessionInfoLog("PresentationSessionInfo");
|
||||
|
||||
#undef LOG
|
||||
#define LOG(...) MOZ_LOG(GetPresentationSessionInfoLog(), mozilla::LogLevel::Error, (__VA_ARGS__))
|
||||
#define LOG(...) MOZ_LOG(gPresentationSessionInfoLog, mozilla::LogLevel::Error, (__VA_ARGS__))
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user