StormByte-Logger 3.0.0
C++26 logger module of the StormByte suite
Loading...
Searching...
No Matches
log.hxx File Reference
#include <StormByte/byte_size.hxx>
#include <StormByte/logger/manipulators.hxx>
#include <StormByte/logger/typedefs.hxx>
#include <StormByte/safe/binary.hxx>
#include <StormByte/safe/callback.hxx>
#include <StormByte/safe/clonable.hxx>
#include <StormByte/safe/map.hxx>
#include <StormByte/safe/optional.hxx>
#include <StormByte/safe/string.hxx>
#include <StormByte/safe/vector.hxx>
#include <StormByte/safe/wstring.hxx>
#include <StormByte/size.hxx>
#include <StormByte/type_traits.hxx>
#include <StormByte/type_traits/safe.hxx>
#include <cstddef>
#include <memory>
#include <ostream>
#include <span>
#include <string>
#include <string_view>
Include dependency graph for log.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StormByte::Logger::Log
 Public streaming facade for the StormByte logger. More...

Namespaces

namespace  StormByte::Logger
 Logger module of the StormByte suite.
namespace  StormByte

Concepts

concept  StormByte::Logger::LogPointer
 Pointer-like owner of Log or a derived logger.

Functions

void StormByte::Logger::OStreamWrite (void *context, const char *data, std::size_t size)
 Write raw bytes into an std::ostream owned by the caller.
void StormByte::Logger::OStreamManip (void *context, std::ostream &(*manip)(std::ostream &))
 Apply an std::ostream manipulator in the caller's module.
template<typename Ptr, typename T>
requires LogPointer<Ptr>
Ptr & StormByte::Logger::operator<< (Ptr &logger, const T &value) noexcept
 Stream a value into a smart pointer to Log or a derived logger.
template<typename Ptr>
requires LogPointer<Ptr>
Ptr & StormByte::Logger::operator<< (Ptr &logger, const Level &level) noexcept
 Stream a Level into a smart pointer to Log or a derived logger.
template<typename Ptr>
requires LogPointer<Ptr>
Ptr & StormByte::Logger::operator<< (Ptr &logger, std::ostream &(*manip)(std::ostream &)) noexcept
 Stream a stream manipulator into a smart pointer to Log or a derived logger.
 STORMBYTE_DECLARE_MAYBE_SAFE (StormByte::Logger::Log)

Function Documentation

◆ STORMBYTE_DECLARE_MAYBE_SAFE()

STORMBYTE_DECLARE_MAYBE_SAFE ( StormByte::Logger::Log )