Skip to content
Documentation

HAKOM.Logging.HakomDatabaseLog.Net.Api.Persistence Namespace

Contains interfaces for writing IHakomDatabaseLogEntry instances into database repositories.

This namespace defines the persistence abstraction layer for database logging:

  • IHakomDatabaseLogStore — The store interface for writing individual log entries into a repository and checking log level support. Implementations exist for Oracle, PostgreSQL, and SQL Server.
  • IHakomDatabaseLogStoreFactory — A factory that creates IHakomDatabaseLogStore instances for a given repository name, following the Try/Result pattern for error handling.

Concrete implementations of IHakomDatabaseLogStore are internal and are registered with the dependency injection container by AddHakomDatabaseLog(this ILoggingBuilder). The appropriate implementation is selected at runtime based on the storage provider type configured for the target repository.

Interfaces
IHakomDatabaseLogStore Used to write log entries into a repository.
IHakomDatabaseLogStoreFactory Used to create IHakomDatabaseLogStore instances.
© 2026 Volue.Version v0.6.38017 November 2026