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

Enumerations

enum class  overflow_policy {
  block , drop_oldest , drop_newest , grow ,
  block , drop_oldest , drop_newest , grow
}
 Overflow policy for when buffers are full. More...
 
enum class  health_status {
  healthy , degraded , unhealthy , critical ,
  healthy , degraded , unhealthy , critical
}
 Health status enumeration. More...
 
enum class  logger_error_code {
  success = 0 , invalid_configuration , writer_not_found , writer_already_exists ,
  write_failed , flush_failed , buffer_full , invalid_level ,
  invalid_pattern , file_open_failed , network_error , encryption_error ,
  compression_error , monitoring_failed , component_not_found , di_resolution_failed ,
  health_check_failed , writer_closed , unknown_error , success = 0 ,
  invalid_configuration , writer_not_found , writer_already_exists , write_failed ,
  flush_failed , buffer_full , invalid_level , invalid_pattern ,
  file_open_failed , network_error , encryption_error , compression_error ,
  monitoring_failed , component_not_found , di_resolution_failed , health_check_failed ,
  writer_closed , unknown_error
}
 Logger error codes. More...
 
enum class  logger_system::overflow_policy {
  block , drop_oldest , drop_newest , grow ,
  block , drop_oldest , drop_newest , grow
}
 
enum class  logger_system::health_status {
  healthy , degraded , unhealthy , critical ,
  healthy , degraded , unhealthy , critical
}
 
enum class  logger_system::logger_error_code {
  success = 0 , invalid_configuration , writer_not_found , writer_already_exists ,
  write_failed , flush_failed , buffer_full , invalid_level ,
  invalid_pattern , file_open_failed , network_error , encryption_error ,
  compression_error , monitoring_failed , component_not_found , di_resolution_failed ,
  health_check_failed , writer_closed , unknown_error , success = 0 ,
  invalid_configuration , writer_not_found , writer_already_exists , write_failed ,
  flush_failed , buffer_full , invalid_level , invalid_pattern ,
  file_open_failed , network_error , encryption_error , compression_error ,
  monitoring_failed , component_not_found , di_resolution_failed , health_check_failed ,
  writer_closed , unknown_error
}
 

Enumeration Type Documentation

◆ health_status [1/2]

enum class logger_system::health_status
strong

Health status enumeration.

Enumerator
healthy 
degraded 
unhealthy 
critical 
healthy 
degraded 
unhealthy 
critical 
Examples
/home/runner/work/logger_system/logger_system/include/kcenon/logger/core/logger.h.

Definition at line 33 of file logger_types.h.

33 {
34 healthy, // System is operating normally
35 degraded, // System has some issues but still operational
36 unhealthy, // System has serious issues
37 critical // System is in critical state
38};

◆ health_status [2/2]

enum class logger_system::health_status
exportstrong
Enumerator
healthy 
degraded 
unhealthy 
critical 
healthy 
degraded 
unhealthy 
critical 

Definition at line 50 of file core.cppm.

50 {
51 healthy,
55 };

◆ logger_error_code [1/2]

Logger error codes.

Enumerator
success 
invalid_configuration 
writer_not_found 
writer_already_exists 
write_failed 
flush_failed 
buffer_full 
invalid_level 
invalid_pattern 
file_open_failed 
network_error 
encryption_error 
compression_error 
monitoring_failed 
component_not_found 
di_resolution_failed 
health_check_failed 
writer_closed 
unknown_error 
success 
invalid_configuration 
writer_not_found 
writer_already_exists 
write_failed 
flush_failed 
buffer_full 
invalid_level 
invalid_pattern 
file_open_failed 
network_error 
encryption_error 
compression_error 
monitoring_failed 
component_not_found 
di_resolution_failed 
health_check_failed 
writer_closed 
unknown_error 

Definition at line 43 of file logger_types.h.

◆ logger_error_code [2/2]

enum class logger_system::logger_error_code
exportstrong
Enumerator
success 
invalid_configuration 
writer_not_found 
writer_already_exists 
write_failed 
flush_failed 
buffer_full 
invalid_level 
invalid_pattern 
file_open_failed 
network_error 
encryption_error 
compression_error 
monitoring_failed 
component_not_found 
di_resolution_failed 
health_check_failed 
writer_closed 
unknown_error 
success 
invalid_configuration 
writer_not_found 
writer_already_exists 
write_failed 
flush_failed 
buffer_full 
invalid_level 
invalid_pattern 
file_open_failed 
network_error 
encryption_error 
compression_error 
monitoring_failed 
component_not_found 
di_resolution_failed 
health_check_failed 
writer_closed 
unknown_error 

Definition at line 57 of file core.cppm.

57 {
58 success = 0,
59 invalid_configuration,
60 writer_not_found,
61 writer_already_exists,
67 file_open_failed,
72 component_not_found,
76 unknown_error
77 };

◆ overflow_policy [1/2]

enum class logger_system::overflow_policy
strong

Overflow policy for when buffers are full.

Enumerator
block 
drop_oldest 
drop_newest 
grow 
block 
drop_oldest 
drop_newest 
grow 
Examples
/home/runner/work/logger_system/logger_system/include/kcenon/logger/core/logger.h.

Definition at line 23 of file logger_types.h.

23 {
24 block, // Block until space is available
25 drop_oldest, // Drop oldest messages
26 drop_newest, // Drop newest messages
27 grow // Dynamically grow buffer
28};

◆ overflow_policy [2/2]

enum class logger_system::overflow_policy
exportstrong
Enumerator
block 
drop_oldest 
drop_newest 
grow 
block 
drop_oldest 
drop_newest 
grow 

Definition at line 43 of file core.cppm.

43 {
44 block,
47 grow
48 };