Luanti 5.16.0-dev
Loading...
Searching...
No Matches
log.h File Reference
#include "util/basic_macros.h"
#include "util/stream.h"
Include dependency graph for log.h:

Go to the source code of this file.

Classes

class  LogTarget
class  StreamProxy
class  LogStream

Macros

#define ADD_NULL_CHECK(_type)
#define TRACESTREAM(x)

Variables

LogStream dstream
LogStream rawstream
LogStream errorstream
LogStream warningstream
LogStream actionstream
LogStream infostream
LogStream verbosestream
LogStream tracestream
LogStream derr_con
LogStream dout_con

Macro Definition Documentation

◆ ADD_NULL_CHECK

#define ADD_NULL_CHECK ( _type)
Value:
StreamProxy& operator<<(_type arg) \
{ \
return emit_with_null_check(std::forward<_type>(arg)); \
}
Definition log.h:31

◆ TRACESTREAM

#define TRACESTREAM ( x)
Value:
do { \
if (tracestream) { \
} \
} while (0)
LogStream tracestream(trace_target)
constexpr v3f x
Definition test_irr_matrix4.cpp:18

Referenced by MapBlock::deSerialize(), NodeDefManager::deSerialize(), CItemDefManager::registerAlias(), CCraftDefManager::registerCraft(), and CItemDefManager::registerItem().

Variable Documentation

◆ actionstream

LogStream actionstream
externthread_local

◆ derr_con

LogStream derr_con
externthread_local

◆ dout_con

LogStream dout_con
externthread_local

◆ dstream

LogStream dstream
externthread_local

◆ errorstream

LogStream errorstream
externthread_local

◆ infostream

LogStream infostream
externthread_local

◆ rawstream

LogStream rawstream
externthread_local

◆ tracestream

LogStream tracestream
externthread_local

◆ verbosestream

LogStream verbosestream
externthread_local

◆ warningstream

LogStream warningstream
externthread_local