EZLog
Loading...
Searching...
No Matches
EZLog Namespace Reference

EZlog namespace, avoiding naming conflicts. More...

Classes

class  Lib
 logger lib More...
 
class  Logger
 logger class More...
 
struct  null_atomic
 null atomic More...
 
struct  null_mutex
 null mutex More...
 

Typedefs

template<typename T >
using Atomic = null_atomic< T >
 atomic type
 
using Mutex = null_mutex
 mutex type
 

Variables

LOGGER_EXPORT std::mutex real_mutex
 mutex of type std::mutex, used for synchronization in multi-threaded mode
 
LOGGER_EXPORT null_mutex fake_mutex
 mutex of type null_mutex, used for simulating mutex operations in single-threaded mode
 

Detailed Description

EZlog namespace, avoiding naming conflicts.

Typedef Documentation

◆ Atomic

template<typename T >
using EZLog::Atomic = typedef null_atomic<T>

atomic type

◆ Mutex

using EZLog::Mutex = typedef null_mutex

mutex type

Variable Documentation

◆ fake_mutex

LOGGER_EXPORT null_mutex EZLog::fake_mutex
extern

mutex of type null_mutex, used for simulating mutex operations in single-threaded mode

◆ real_mutex

LOGGER_EXPORT std::mutex EZLog::real_mutex
extern

mutex of type std::mutex, used for synchronization in multi-threaded mode