NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
logger.hpp File Reference

Provides functions to set up logging. More...

#include <string_view>

Go to the source code of this file.

Namespaces

namespace  nnl

Typedefs

using nnl::LogFun = void (*)(std::string_view msg, LogLevel log_level)
 Type definition for a logging function.

Enumerations

enum class  nnl::LogLevel { nnl::LogLevel::kError , nnl::LogLevel::kWarn }
 Enum class representing log levels. More...

Functions

void nnl::SetGlobalLogCB (LogFun callback) noexcept
 Sets the logging callback function.

Detailed Description

Provides functions to set up logging.

See also
nnl::SetGlobalLogCB