LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
Logger.hpp File Reference

Logging facade for application-wide logging. More...

#include <memory>
#include <source_location>
#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <string>
#include <string_view>
Include dependency graph for Logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  util::ILogger
 Interface for logging implementations. More...
 
class  util::SpdLogger
 spdlog-based implementation of ILogger More...
 
class  util::Logger
 Application-wide logging singleton. More...
 

Namespaces

namespace  util
 Utility components and helper types for the LogViewer application.
 

Enumerations

enum class  util::LogLevel {
  util::Trace , util::Debug , util::Info , util::Warning ,
  util::Error , util::Critical , util::Off
}
 Logging severity levels. More...
 

Detailed Description

Logging facade for application-wide logging.

Author
LogViewer Development Team
Date
2025

Provides a clean abstraction over spdlog for better testability and the ability to swap logging implementations if needed.