Logger definitions and helpers.
Definition in file logger.hpp.
Go to the source code of this file.
#include <memory>
#include <string>
#include <userver/logging/format.hpp>
#include <userver/logging/fwd.hpp>
#include <userver/logging/level.hpp>
Namespaces | |
namespace | logging |
Logging macro and utilities. | |
Functions | |
LoggerPtr | logging::MakeStderrLogger (const std::string &name, Format format, Level level=Level::kInfo) |
Creates synchronous stderr logger with default tskv pattern. | |
LoggerPtr | logging::MakeStdoutLogger (const std::string &name, Format format, Level level=Level::kInfo) |
Creates synchronous stdout logger with default tskv pattern. | |
LoggerPtr | logging::MakeFileLogger (const std::string &name, const std::string &path, Format format, Level level=Level::kInfo) |
Creates synchronous file logger with default tskv pattern. | |