HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::LogManager::log_sink Struct Reference

#include <hal_core/utilities/log.h>

Collaboration diagram for hal::LogManager::log_sink:
Collaboration graph

Public Attributes

std::shared_ptr< spdlog::sinks::sink > spdlog_sink
 
std::string sink_type
 
bool is_file_sink
 
bool truncate
 
std::filesystem::path path
 

Detailed Description

A single sink that a log channel writes to, e.g., stdout, a log file, or the GUI.

Definition at line 112 of file log.h.

Member Data Documentation

◆ is_file_sink

bool hal::LogManager::log_sink::is_file_sink

Definition at line 116 of file log.h.

Referenced by hal::log_init().

◆ path

std::filesystem::path hal::LogManager::log_sink::path

Definition at line 118 of file log.h.

Referenced by hal::log_init().

◆ sink_type

std::string hal::LogManager::log_sink::sink_type

Definition at line 115 of file log.h.

Referenced by hal::log_init().

◆ spdlog_sink

std::shared_ptr<spdlog::sinks::sink> hal::LogManager::log_sink::spdlog_sink

Definition at line 114 of file log.h.

◆ truncate

bool hal::LogManager::log_sink::truncate

Definition at line 117 of file log.h.

Referenced by hal::log_init().


The documentation for this struct was generated from the following file: