alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
logger.hpp File Reference
#include "alpaka/onHost/demangledName.hpp"
#include "alpaka/onHost/logger/lvl.hpp"
#include "alpaka/unused.hpp"
#include <atomic>
#include <chrono>
#include <functional>
#include <iostream>
#include <ostream>
#include <source_location>
#include <string>
#include <string_view>

Go to the source code of this file.

Classes

struct  alpaka::onHost::logger::internal::Info< T_LogLvl, T_Callable, T_Writer >
 Write a meta data message to the output. More...
struct  alpaka::onHost::logger::internal::Scoped< T_LogLvl, T_Writer >
 Log the entry and exit of a scope. More...
struct  alpaka::onHost::logger::internal::StdErr
 Write all output to std::cerr. More...

Namespaces

namespace  alpaka
 main alpaka namespace.
namespace  alpaka::onHost
 Functionality which is usable on the host CPU controller thread.
namespace  alpaka::onHost::logger
namespace  alpaka::onHost::logger::internal

Functions

std::string alpaka::onHost::logger::internal::adjDetails (std::string const &str)
 shortening the function signatures to become human-readable
std::string alpaka::onHost::logger::internal::adjStringLength (std::string str, size_t n, char const paddingCharacter=' ')
 Adjust the length of a string to a minimum length.
void alpaka::onHost::logger::internal::indent (auto &writer, int indentLvl)
 Indent the message if needed and forward it to the output writer.