mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1165515 - Part 2: Add MOZ_LOG_TEST. r=froydnj
This commit is contained in:
parent
ab696ade93
commit
aac96eb3c5
@ -16,5 +16,10 @@
|
||||
|
||||
#define MOZ_LOG PR_LOG
|
||||
|
||||
// Tests if a module has enabled the given log level.
|
||||
// NB: _module can be null.
|
||||
#define MOZ_LOG_TEST(_module, _level) \
|
||||
((_module) && (_module)->level >= (_level))
|
||||
|
||||
#endif // mozilla_logging_h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user