Teamcenter C++ API Reference  2312
ConsoleAppender.hxx
Go to the documentation of this file.
1 // Copyright 2022 Siemens Digital Industries Software
2 // ==================================================
3 // Copyright 2022.
4 // Siemens Product Lifecycle Management Software Inc.
5 // All Rights Reserved.
6 // ==================================================
7 // Copyright 2022 Siemens Digital Industries Software
8 
9 #ifndef TEAMCENTER_COMMON_LOGGING_CONSOLEAPPENDER_HXX
10 #define TEAMCENTER_COMMON_LOGGING_CONSOLEAPPENDER_HXX
11 
12 #include <tclogging/Appender.hxx>
13 
14 #include <string>
15 
16 #include <tclogging/libtclogging_exports.h>
17 
18 namespace Teamcenter::Common::Logging
19 {
20 
21 
27  class TCLOGGING_API ConsoleAppender : public Appender
28  {
29  public:
30  static Appender* INSTANCE();
31 
32  virtual ~ConsoleAppender() = default;
33  private:
35  public:
36  ConsoleAppender( const ConsoleAppender& ) = delete;
37  ConsoleAppender( ConsoleAppender&& ) = delete;
38  ConsoleAppender& operator=( const ConsoleAppender& ) = delete;
39  ConsoleAppender& operator=( ConsoleAppender&& ) = delete;
40 
41  virtual std::string getAbsoluteFilePath();
42  };
43 
44 }
45 
46 #include <tclogging/libtclogging_undef.h>
47 #endif