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

Rotating file writer with size and time-based rotation. More...

#include "file_writer.h"
#include "../interfaces/writer_category.h"
#include <kcenon/logger/logger_export.h>
#include <chrono>
#include <vector>
#include <sstream>
Include dependency graph for rotating_file_writer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::logger::rotating_file_writer
 File writer with automatic log rotation support. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 

Enumerations

enum class  kcenon::logger::rotation_type { kcenon::logger::size , kcenon::logger::daily , kcenon::logger::hourly , kcenon::logger::size_and_time }
 Determines when log rotation should occur. More...
 

Detailed Description

Rotating file writer with size and time-based rotation.

See also
file_writer.h For the base file writer

Definition in file rotating_file_writer.h.