InscoperAPI/API/Shared/Log/ELogMode.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Source code¶
#ifndef ELOGMODE_H
#define ELOGMODE_H
namespace Inscoper {
enum ELogMode {
FILE = 0x01,
CONSOLE = 0x02,
LISTENER = 0x04,
ALL = FILE | CONSOLE | LISTENER,
};
inline ELogMode operator&(ELogMode __a, ELogMode __b) {
return ELogMode(static_cast<int>(__a) & static_cast<int>(__b));
}
inline ELogMode operator|(ELogMode __a, ELogMode __b) {
return ELogMode(static_cast<int>(__a) | static_cast<int>(__b));
}
inline ELogMode operator^(ELogMode __a, ELogMode __b) {
return ELogMode(static_cast<int>(__a) ^ static_cast<int>(__b));
}
inline ELogMode operator~(ELogMode __a) {
return ELogMode(~static_cast<int>(__a));
}
inline const ELogMode &operator|=(ELogMode &__a, ELogMode __b) {
return __a = __a | __b;
}
inline const ELogMode &operator&=(ELogMode &__a, ELogMode __b) {
return __a = __a & __b;
}
inline const ELogMode &operator^=(ELogMode &__a, ELogMode __b) {
return __a = __a ^ __b;
}
} // namespace Inscoper
#endif // ELOGMODE_H
Updated on 2026-09-03 at 12:14:17 +0200