Welcome to mirror list, hosted at ThFree Co, Russian Federation.

logging.h « lang_getter - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86c1fcfc9ef191ef80d3eee0c7fe56e1d86c7086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <QString>

class Logging
{
public:
  Logging();

  enum STATUS { INFO, WARNING, ERROR };

  void Print(STATUS s, QString const & msg);
  void Percent(qint64 curr, qint64 total);

  QString StatusToString(STATUS s) const;
};