Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
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
22namespace core {
23namespace lomiri {
24namespace media {
25
26// Log returns the core::lomiri::media-wide configured logger instance.
27// Save to call before/after main.
28const QLoggingCategory &Log()
29{
30 static const QLoggingCategory category("media-hub");
31 return category;
32}
33
34} // namespace media
35} // namespace lomiri
36} // namespace core
const QLoggingCategory & Log()
Definition logging.cpp:28