diff options
author | claiff <claiff@mail.ru> | 2022-10-06 12:26:45 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-10-06 12:26:45 +0300 |
commit | da5f91a0ce15351a82beb061c3ccc965164529bc (patch) | |
tree | 1f4cd2d1e2f8cf2442d055c519d06c6e0692febc /src/logger/journal.cpp | |
parent | 8edef99a5b52643e0b919c424357752cbbc9a8dd (diff) | |
download | obmc-sila-smtp-da5f91a0ce15351a82beb061c3ccc965164529bc.tar.xz |
create settings on startbugfix/proxy_file_reader
Diffstat (limited to 'src/logger/journal.cpp')
-rw-r--r-- | src/logger/journal.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/logger/journal.cpp b/src/logger/journal.cpp index ba002b0..5e4f36d 100644 --- a/src/logger/journal.cpp +++ b/src/logger/journal.cpp @@ -6,6 +6,11 @@ namespace smtp::logger { void Journal::LogError( std::string const& method, std::string const& message ) const { - std::cout << message << std::endl; - } -}
\ No newline at end of file + std::cout << "Error in method: " + method + " with message " + message << std::endl; + } + + void Journal::LogOk( std::string const& message ) const + { + std::cout << message << std::endl; + } +} |