Photon Common Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ELogLevel.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph
6{
7
8enum class ELogLevel
9{
10 Debug,
11 Note,
12 Warning,
13 Error,
18};
19
20inline constexpr bool is_once(const ELogLevel logLevel)
21{
22 switch(logLevel)
23 {
28 return true;
29
30 default:
31 return false;
32 }
33}
34
35}// end namespace ph
The root for all renderer implementations.
Definition assertion.h:9
constexpr bool is_once(const ELogLevel logLevel)
Definition ELogLevel.h:20
ELogLevel
Definition ELogLevel.h:9