Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
output_sink_interface.h File Reference

Interface for log output destinations (Single Responsibility Principle) kcenon. More...

#include <string>
#include <string_view>
#include <memory>
#include <functional>
#include <kcenon/common/patterns/result.h>
#include <kcenon/logger/core/error_codes.h>
Include dependency graph for output_sink_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::logger::output_sink_interface
 Abstract interface for log output destinations (I/O only) More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 

Typedefs

using kcenon::logger::output_sink_factory = std::function<std::unique_ptr<output_sink_interface>()>
 

Detailed Description

Interface for log output destinations (Single Responsibility Principle) kcenon.

Since
1.3.0
Version
Sprint 5-6 - Writer Refactoring

This interface represents the output destination for log messages. It follows the Single Responsibility Principle by handling ONLY the I/O operations, completely separated from formatting concerns.

Note: This is different from log_sink_interface which handles async processing. output_sink_interface is for direct I/O operations.

Definition in file output_sink_interface.h.