summaryrefslogtreecommitdiff
path: root/rockworkd/libpebble/jskit/jskitconsole.cpp
blob: 3d6c85cb9f91f553c3f3cb10b516f1f66e2e6c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <QDebug>

#include "jskitconsole.h"

JSKitConsole::JSKitConsole(QObject *parent) :
    QObject(parent),
    l(metaObject()->className())
{
}

void JSKitConsole::log(const QString &msg)
{
    qCDebug(l) << msg;
}

void JSKitConsole::warn(const QString &msg)
{
    qCWarning(l) << msg;
}

void JSKitConsole::error(const QString &msg)
{
    qCCritical(l) << msg;
}

void JSKitConsole::info(const QString &msg)
{
    qCDebug(l) << msg;
}