diff options
Diffstat (limited to 'xbmc/utils/StaticLoggerBase.h')
| -rw-r--r-- | xbmc/utils/StaticLoggerBase.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/xbmc/utils/StaticLoggerBase.h b/xbmc/utils/StaticLoggerBase.h new file mode 100644 index 0000000..a3da35f --- /dev/null +++ b/xbmc/utils/StaticLoggerBase.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2020 Team Kodi | ||
| 3 | * This file is part of Kodi - https://kodi.tv | ||
| 4 | * | ||
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later | ||
| 6 | * See LICENSES/README.md for more information. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #pragma once | ||
| 10 | |||
| 11 | #include "utils/logtypes.h" | ||
| 12 | |||
| 13 | #include <string> | ||
| 14 | |||
| 15 | class CStaticLoggerBase | ||
| 16 | { | ||
| 17 | protected: | ||
| 18 | explicit CStaticLoggerBase(const std::string& loggerName); | ||
| 19 | |||
| 20 | static Logger s_logger; | ||
| 21 | }; | ||
