OSVR-Core
LogLevel.h
Go to the documentation of this file.
1 
12 // Copyright 2016 Sensics, Inc.
13 //
14 // Licensed under the Apache License, Version 2.0 (the "License");
15 // you may not use this file except in compliance with the License.
16 // You may obtain a copy of the License at
17 //
18 // http://www.apache.org/licenses/LICENSE-2.0
19 //
20 // Unless required by applicable law or agreed to in writing, software
21 // distributed under the License is distributed on an "AS IS" BASIS,
22 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 // See the License for the specific language governing permissions and
24 // limitations under the License.
25 
26 #ifndef INCLUDED_LogLevel_h_GUID_721FFB5D_B4A7_416A_B11E_982C1A21795B
27 #define INCLUDED_LogLevel_h_GUID_721FFB5D_B4A7_416A_B11E_982C1A21795B
28 
29 // Internal Includes
30 #include <osvr/Util/LogLevelC.h>
31 
32 // Library/third-party includes
33 // - none
34 
35 // Standard includes
36 // - none
37 
38 namespace osvr {
39 namespace util {
40  namespace log {
41 
45  enum class LogLevel {
46  trace =
47  OSVR_LOGLEVEL_TRACE, //< function entry and exit, control flow.
48  debug = OSVR_LOGLEVEL_DEBUG, //< developer-facing messages.
49  info = OSVR_LOGLEVEL_INFO, //< user-facing messages.
50  notice = OSVR_LOGLEVEL_NOTICE, //< normal but significant condition.
51  warn = OSVR_LOGLEVEL_WARN, //< warning conditions.
52  error = OSVR_LOGLEVEL_ERROR, //< error messages.
53  critical = OSVR_LOGLEVEL_CRITICAL, //< critical conditions.
54  };
55 
56  } // namespace log
57 } // namespace util
58 } // namespace osvr
59 
60 #endif // INCLUDED_LogLevel_h_GUID_721FFB5D_B4A7_416A_B11E_982C1A21795B
Definition: RunLoopManager.h:42
Header.
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
LogLevel
Log message severity levels.
Definition: LogLevel.h:45