summaryrefslogtreecommitdiff
path: root/implementation/logging/include/logger_impl.hpp
diff options
context:
space:
mode:
authorJürgen Gehring <Juergen.Gehring@bmw.de>2016-11-04 09:26:06 -0700
committerJürgen Gehring <Juergen.Gehring@bmw.de>2016-11-04 09:26:06 -0700
commit30b6688d9f77d40352cc3cec99052e0946a8affc (patch)
tree52d7f9332f709917bb287db61505000e18eeeefd /implementation/logging/include/logger_impl.hpp
parent7bb933404f4ee0be3add0c506b53e1c1f7274869 (diff)
downloadvSomeIP-30b6688d9f77d40352cc3cec99052e0946a8affc.tar.gz
vSomeIP 2.5.02.5.0
Diffstat (limited to 'implementation/logging/include/logger_impl.hpp')
-rw-r--r--implementation/logging/include/logger_impl.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/implementation/logging/include/logger_impl.hpp b/implementation/logging/include/logger_impl.hpp
index 9c7d0bf..c4fa14a 100644
--- a/implementation/logging/include/logger_impl.hpp
+++ b/implementation/logging/include/logger_impl.hpp
@@ -33,7 +33,7 @@ typedef boost::log::sinks::synchronous_sink<
class logger_impl: public logger {
public:
static std::shared_ptr<logger_impl> & get();
- static void init(const std::shared_ptr<configuration> &_configuration);
+ VSOMEIP_IMPORT_EXPORT static void init(const std::shared_ptr<configuration> &_configuration);
logger_impl();
@@ -42,12 +42,17 @@ public:
private:
void enable_console();
+ void disable_console();
+
void enable_file(const std::string &_path);
+ void disable_file();
+
void enable_dlt(const std::string &_app_id,
const std::string &_context_id);
+ void disable_dlt();
private:
- static boost::log::sources::severity_logger_mt<
+ boost::log::sources::severity_logger_mt<
boost::log::trivial::severity_level> logger_;
boost::log::trivial::severity_level loglevel_;