PLaSK library

Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations | Functions
log.hpp File Reference
`#include <iostream>`
`#include <string>`
`#include "../memory.hpp"`
`#include "../utils/format.hpp"`
Include dependency graph for log.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | plask::NoLogging
| Logger switch. More...
class | plask::Logger
| Abstract class that is base for all loggers. More...

## Namespaces
namespace | plask
| Patterson quadrature for complex function along specified line.

## Macros
#define | write_debug(...) writelog(LOG_DEBUG, __VA_ARGS__)

## Enumerations
enum | plask::LogLevel { plask::LOG_CRITICAL_ERROR = 0 , plask::LOG_ERROR = 1 , plask::LOG_ERROR_DETAIL = 2 , plask::LOG_WARNING = 3 , plask::LOG_IMPORTANT = 4 , plask::LOG_INFO = 5 , plask::LOG_RESULT = 6 , plask::LOG_DATA = 7 , plask::LOG_DETAIL = 8 , plask::LOG_DEBUG = 9 }

## Functions
PLASK_API std::string | plask::host_name ()
PLASK_API void | plask::createDefaultLogger ()
| Create default logger.
void | plask::writelog (LogLevel level, const std::string &msg)
| Log a message.
template<typename... Args>
void | plask::writelog (LogLevel level, const std::string &msg, Args &&... params)
| Log a message.

## Macro Definition Documentation

## ◆ write_debug

#define write_debug | ( |  | ... | ) | writelog(LOG_DEBUG, __VA_ARGS__)

Definition at line 149 of file log.hpp.