StormByte-Logger 2.0.0
C++26 logger module of the StormByte suite
 
Loading...
Searching...
No Matches
log.hxx File Reference
#include <StormByte/binary_data.hxx>
#include <StormByte/byte_size.hxx>
#include <StormByte/clonable.hxx>
#include <StormByte/cstring.hxx>
#include <StormByte/logger/manipulators.hxx>
#include <StormByte/logger/typedefs.hxx>
#include <StormByte/size.hxx>
#include <StormByte/string/string.hxx>
#include <StormByte/string/wstring.hxx>
#include <StormByte/type_traits.hxx>
#include <StormByte/wcstring.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.