summaryrefslogtreecommitdiff
path: root/src/logger/journal.cpp
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-10-06 12:26:45 +0300
committerclaiff <claiff@mail.ru>2022-10-06 12:26:45 +0300
commitda5f91a0ce15351a82beb061c3ccc965164529bc (patch)
tree1f4cd2d1e2f8cf2442d055c519d06c6e0692febc /src/logger/journal.cpp
parent8edef99a5b52643e0b919c424357752cbbc9a8dd (diff)
downloadobmc-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.cpp11
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;
+ }
+}