Utilities
Utilities header only library
Logger.h
1 /*
2  Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
3  Unauthorized copying of this file, via any medium is strictly prohibited
4  Proprietary and confidential
5 */
6 #ifndef UTILS_LOGGER_H
7 #define UTILS_LOGGER_H
8 #include <Utils/LogWriter.h>
9 
10 namespace utils
11 {
12 
13 
19  class Logger
20  {
21  public:
22  explicit Logger(const std::shared_ptr<LogWriter> log = nullptr) : log_(log == nullptr ? std::make_shared<LogWriter>() : log) {};
23  protected:
24  const std::shared_ptr<LogWriter> log_;
25  };
26 }
27 #endif /* !UTILS_LOGGER_H */
Class for log initialization.
Definition: Logger.h:19
General namespace for utilities.
Definition: BulletConversions.h:9