AutoPas  3.0.0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
Logger.h File Reference
#include <spdlog/fmt/bundled/ranges.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/ostream_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
#include <iostream>
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  autopas::Logger
 Logger class to provide interface to basic functions of the logger. More...
 

Namespaces

namespace  autopas
 This is the main namespace of AutoPas.
 

Macros

#define AutoPasLog(lvl, fmt, ...)   SPDLOG_LOGGER_##lvl(spdlog::get("AutoPasLog"), fmt, ##__VA_ARGS__)
 Macro for logging providing common meta information without filename.
 

Detailed Description

Author
seckler
Date
20.04.18

Macro Definition Documentation

◆ AutoPasLog

#define AutoPasLog (   lvl,
  fmt,
  ... 
)    SPDLOG_LOGGER_##lvl(spdlog::get("AutoPasLog"), fmt, ##__VA_ARGS__)

Macro for logging providing common meta information without filename.

Parameters
lvlPossible levels: trace, debug, info, warn, error, critical.
fmtMessage with formatting tokens
...Formatting arguments
Note
A ';' is enforced at the end of the macro.