logging updates

This commit is contained in:
Aaron Po
2026-05-17 02:58:47 -04:00
parent 5d80b53351
commit be3c324b38
37 changed files with 643 additions and 389 deletions

View File

@@ -2,7 +2,7 @@
#define BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_ENRICHMENT_SERVICE_H_
/**
* @file services/enrichment_service.h
* @file services/enrichment/enrichment_service.h
* @brief Abstraction for resolving contextual enrichment for a location.
*/

View File

@@ -1,15 +1,29 @@
//
// Created by aaronpo on 13/05/2026.
//
#ifndef BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
#define BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
/**
* @file services/enrichment/mock_enrichment.h
* @brief Mock implementation of enrichment service for testing.
*/
#include <string>
#include "enrichment_service.h"
/**
* @brief Mock implementation of enrichment service for testing and prototyping.
*
* Returns empty context without performing actual web queries or enrichment.
* Useful for unit tests and development scenarios.
*/
class MockEnrichmentService final : public IEnrichmentService {
public:
/**
* @brief Returns empty location context.
*
* @param loc Unused location parameter.
* @return Empty string (no enrichment performed).
*/
std::string GetLocationContext(const Location& /*loc*/) override {
return {};
}

View File

@@ -2,7 +2,7 @@
#define BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_WIKIPEDIA_SERVICE_H_
/**
* @file services/wikipedia_service.h
* @file services/enrichment/wikipedia_service.h
* @brief Wikipedia summary retrieval service with in-memory caching.
*/