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

Default human-readable formatter with timestamps kcenon. More...

#include "../interfaces/log_formatter_interface.h"
#include "../utils/time_utils.h"
#include "../utils/string_utils.h"
#include <sstream>
#include <iomanip>
#include <ctime>
#include <kcenon/common/interfaces/logger_interface.h>
Include dependency graph for timestamp_formatter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::logger::timestamp_formatter
 Default formatter with human-readable timestamp format. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 

Detailed Description

Default human-readable formatter with timestamps kcenon.

Since
1.2.0
Version
Phase 3 - Code Quality Improvement

Implements the default log formatting style used by the logger system. Produces human-readable output with timestamp, level, message, and optional source location information.

Output format: [YYYY-MM-DD HH:MM:SS.mmm] [LEVEL] [thread:TID] message [file:line in function()]

Definition in file timestamp_formatter.h.