PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
ilogger.h File Reference

Logger interface for dependency injection. More...

#include <kcenon/pacs/integration/logger_adapter.h>
#include <kcenon/pacs/compat/format.h>
#include <memory>
#include <string_view>
Include dependency graph for ilogger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::pacs::di::ILogger
 Abstract logger interface for dependency injection. More...
 
class  kcenon::pacs::di::NullLogger
 No-op logger implementation for default injection. More...
 
class  kcenon::pacs::di::LoggerService
 Default implementation of ILogger using logger_adapter. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::di
 

Functions

std::shared_ptr< ILoggerkcenon::pacs::di::null_logger ()
 Get a shared null logger instance.
 

Detailed Description

Logger interface for dependency injection.

This file provides the ILogger interface and implementations (NullLogger, LoggerService) for use in DICOM services. Separated from service_interfaces.hpp to avoid circular dependencies with scp_service.hpp.

See also
Issue #309 - Full Adoption of ILogger Interface
Author
kcenon
Since
1.0.0

Definition in file ilogger.h.