Music Hub  ..
A session-wide music playback service
logging.cpp
Go to the documentation of this file.
1 /*
2  * Copyright © 2021-2022 UBports Foundation.
3  *
4  * Contact: Alberto Mardegan <mardy@users.sourceforge.net>
5  *
6  * This program is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License version 3,
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  */
19 
20 #include "logging.h"
21 
22 namespace core {
23 namespace lomiri {
24 namespace media {
25 
26 // Log returns the core::lomiri::media-wide configured logger instance.
27 // Save to call before/after main.
28 const QLoggingCategory &Log()
29 {
30  static const QLoggingCategory category("media-hub");
31  return category;
32 }
33 
34 } // namespace media
35 } // namespace lomiri
36 } // namespace core
core::lomiri::media::Log
const QLoggingCategory & Log()
Definition: logging.cpp:28
core
Definition: logging.cpp:22
lomiri::MediaHubService
Definition: context.h:28
lomiri
Definition: dbus_utils.h:24
logging.h