mi::base::details Namespace Reference
[Base API, Logging]
Description
Namespace for details of the Base API.
Enumerations
- enum {MESSAGE_SEVERITY_FATAL = 0, MESSAGE_SEVERITY_ERROR = 1, MESSAGE_SEVERITY_WARNING = 2, MESSAGE_SEVERITY_INFO = 3, MESSAGE_SEVERITY_VERBOSE = 4, MESSAGE_SEVERITY_DEBUG = 5, MESSAGE_SEVERITY_FORCE_32_BIT = 0xffffffffU }
- Constants for possible message severities. More...
- enum Message_tag{ TAG_NONE = 0u, TAG_COMPATIBILITY = 1u<<0, TAG_UNRECOVERABLE = 1u<<1, TAG_API_INPUT = 1u<<2, TAG_API_USAGE = 1u<<3, TAG_VERSIONING = 1u<<4, TAG_SYSTEM_RESOURCE = 1u<<5, TAG_MEMORY = 1u<<6, TAG_FILE = 1u<<7, TAG_STATS = 1u<<8, TAG_UNAVAILABLE = 1u<<9}
- Tags which help categorize log messages.
Enums
- enum mi::base::details::Message_tag
-
Tags which help categorize log messages.
Enumerator:
- TAG_NONE = 0u
- no tags
- TAG_COMPATIBILITY = 1u<<0
- hardware or library compatibility
- TAG_UNRECOVERABLE = 1u<<1
- unrecoverable issue, e.g. fatal CUDA errors
- TAG_API_INPUT = 1u<<2
- e.g. invalid value
- TAG_API_USAGE = 1u<<3
- e.g. wrong order of operations
- TAG_VERSIONING = 1u<<4
- e.g. library version info, mismatch
- TAG_SYSTEM_RESOURCE = 1u<<5
- non-memory, e.g. device assignment, disk space, ...
- TAG_MEMORY = 1u<<6
- memory resource
- TAG_FILE = 1u<<7
- file not found, etc.
- TAG_STATS = 1u<<8
- e.g. timing, memory usage
- TAG_UNAVAILABLE = 1u<<9
- device or resource not available; possibly temporary