~jonas-drange/ubuntu-system-settings/consolidated-devices

« back to all changes in this revision

Viewing changes to src/debug.cpp

  • Committer: Alberto Mardegan
  • Date: 2013-05-03 19:32:01 UTC
  • Revision ID: alberto.mardegan@canonical.com-20130503193201-tgk28uue1j6u8s0c
Add a few files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of system-settings
 
3
 *
 
4
 * Copyright (C) 2013 Canonical Ltd.
 
5
 *
 
6
 * Contact: Alberto Mardegan <alberto.mardegan@canonical.com>
 
7
 *
 
8
 * This program is free software: you can redistribute it and/or modify it
 
9
 * under the terms of the GNU General Public License version 3, as published
 
10
 * by the Free Software Foundation.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful, but
 
13
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
14
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
15
 * PURPOSE.  See the GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License along
 
18
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
 */
 
20
 
 
21
#include "debug.h"
 
22
 
 
23
int appLoggingLevel = 1; // criticals
 
24
 
 
25
void setLoggingLevel(int level)
 
26
{
 
27
    appLoggingLevel = level;
 
28
}
 
29