Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
log_internal.h File Reference
#include <atomic>
#include <map>
#include <queue>
#include <string_view>
#include <fstream>
#include <thread>
#include <mutex>
#include "threading/mutex_auto_lock.h"
#include "util/basic_macros.h"
#include "util/stream.h"
#include "irrlichttypes.h"
#include "log.h"
+ Include dependency graph for log_internal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Logger
 
class  ILogOutput
 
class  ICombinedLogOutput
 
class  StreamLogOutput
 
class  FileLogOutput
 
struct  LogEntry
 
class  CaptureLogOutput
 

Macros

#define LOGLEVEL_TO_MASKLEVEL(x)   (1 << x)
 

Typedefs

typedef u8 LogLevelMask
 

Enumerations

enum  LogLevel {
  LL_NONE , LL_ERROR , LL_WARNING , LL_ACTION ,
  LL_INFO , LL_VERBOSE , LL_TRACE , LL_MAX
}
 
enum  LogColor { LOG_COLOR_NEVER , LOG_COLOR_ALWAYS , LOG_COLOR_AUTO }
 

Variables

StreamLogOutput stdout_output
 
StreamLogOutput stderr_output
 
Logger g_logger
 

Macro Definition Documentation

◆ LOGLEVEL_TO_MASKLEVEL

#define LOGLEVEL_TO_MASKLEVEL ( x)    (1 << x)

Typedef Documentation

◆ LogLevelMask

typedef u8 LogLevelMask

Enumeration Type Documentation

◆ LogColor

enum LogColor
Enumerator
LOG_COLOR_NEVER 
LOG_COLOR_ALWAYS 
LOG_COLOR_AUTO 

◆ LogLevel

enum LogLevel
Enumerator
LL_NONE 
LL_ERROR 
LL_WARNING 
LL_ACTION 
LL_INFO 
LL_VERBOSE 
LL_TRACE 
LL_MAX 

Variable Documentation

◆ g_logger

◆ stderr_output

StreamLogOutput stderr_output
extern

◆ stdout_output

StreamLogOutput stdout_output
extern