summaryrefslogtreecommitdiff
path: root/src/logger/types/ilogger.hpp
blob: 7f2a5e55ee9b811b8dfd72a78495f833c28389d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <memory>

namespace smtp::logger::types
{
	class ILogger
	{
	public:
		virtual ~ILogger() = default;

		virtual void LogError( std::string const& method, std::string const& message ) const = 0;
        virtual void LogOk( std::string const& message ) const = 0;
	};

	using ILoggerPtr = std::shared_ptr < ILogger >;
}