LoggingMacros.h File Reference
#include <nuklei/Log.h>
#include <nuklei/Definitions.h>

Go to the source code of this file.

Macros

#define NUKLEI_FATAL(message)
 
#define NUKLEI_ERROR(message)
 
#define NUKLEI_WARN(message)
 
#define NUKLEI_INFO(message)
 
#define NUKLEI_LOG(message)
 
#define NUKLEI_DEBUG(message)
 

Macro Definition Documentation

◆ NUKLEI_DEBUG

#define NUKLEI_DEBUG (   message)
Value:
{ \
if (::nuklei::LOG_LEVEL >= 6) {\
::std::ostringstream nuklei_logging_local_o_string_stream; \
nuklei_logging_local_o_string_stream << message; \
::nuklei::Log::log(__FILE__, __LINE__, 6, nuklei_logging_local_o_string_stream.str()); }}

Definition at line 60 of file LoggingMacros.h.

◆ NUKLEI_ERROR

#define NUKLEI_ERROR (   message)
Value:
{ \
if (::nuklei::LOG_LEVEL >= 2) {\
::std::ostringstream nuklei_logging_local_o_string_stream; \
nuklei_logging_local_o_string_stream << message; \
::nuklei::Log::log(__FILE__, __LINE__, 2, nuklei_logging_local_o_string_stream.str()); }}

Definition at line 28 of file LoggingMacros.h.

◆ NUKLEI_FATAL

#define NUKLEI_FATAL (   message)
Value:
{ \
if (::nuklei::LOG_LEVEL >= 1) {\
::std::ostringstream nuklei_logging_local_o_string_stream; \
nuklei_logging_local_o_string_stream << message; \
::nuklei::Log::log(__FILE__, __LINE__, 1, nuklei_logging_local_o_string_stream.str()); }}

Definition at line 20 of file LoggingMacros.h.

◆ NUKLEI_INFO

#define NUKLEI_INFO (   message)
Value:
{ \
if (::nuklei::LOG_LEVEL >= 4) {\
::std::ostringstream nuklei_logging_local_o_string_stream; \
nuklei_logging_local_o_string_stream << message; \
::nuklei::Log::log(__FILE__, __LINE__, 4, nuklei_logging_local_o_string_stream.str()); }}

Definition at line 44 of file LoggingMacros.h.

◆ NUKLEI_LOG

#define NUKLEI_LOG (   message)
Value:
{ \
if (::nuklei::LOG_LEVEL >= 5) {\
::std::ostringstream nuklei_logging_local_o_string_stream; \
nuklei_logging_local_o_string_stream << message; \
::nuklei::Log::log(__FILE__, __LINE__, 5, nuklei_logging_local_o_string_stream.str()); }}

Definition at line 52 of file LoggingMacros.h.

◆ NUKLEI_WARN

#define NUKLEI_WARN (   message)
Value:
{ \
if (::nuklei::LOG_LEVEL >= 3) {\
::std::ostringstream nuklei_logging_local_o_string_stream; \
nuklei_logging_local_o_string_stream << message; \
::nuklei::Log::log(__FILE__, __LINE__, 3, nuklei_logging_local_o_string_stream.str()); }}

Definition at line 36 of file LoggingMacros.h.

© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:06.