File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
libs/common/include/launchdarkly/logging Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace launchdarkly {
10
10
/* *
11
11
* Interface for logging back-ends.
12
12
*
13
- * @example ../src/ConsoleBackend.hpp
13
+ * For a reference implementation refer to console_backend.hpp/cpp.
14
14
*/
15
15
class ILogBackend {
16
16
public:
@@ -28,6 +28,13 @@ class ILogBackend {
28
28
*/
29
29
virtual void Write (LogLevel level, std::string message) noexcept = 0;
30
30
31
- virtual ~ILogBackend (){};
31
+ virtual ~ILogBackend () = default ;
32
+ ILogBackend (ILogBackend const & item) = delete ;
33
+ ILogBackend (ILogBackend&& item) = delete ;
34
+ ILogBackend& operator =(ILogBackend const &) = delete ;
35
+ ILogBackend& operator =(ILogBackend&&) = delete ;
36
+
37
+ protected:
38
+ ILogBackend () = default ;
32
39
};
33
40
} // namespace launchdarkly
You can’t perform that action at this time.
0 commit comments