summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 17:56:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 17:56:49 +0300
commitd9973824af73a1c4d4ccc3ae814639d6cfbb7e1e (patch)
treec6aa4dcd9aa6597fc2b4d2a96a8d79ceddd2f764 /src/logger.h
parentb6ed79b708090b81eddf48c1425f31f5f10c7494 (diff)
downloadmv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.tar.gz
mv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.tar.bz2
mv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.tar.xz
mv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.zip
Improve logger class.
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.h b/src/logger.h
index f67ec55d1..6fb9fe5d8 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -88,12 +88,12 @@ class Logger final
/**
* Enters a message in the log. The message will be timestamped.
*/
- void log(std::string str);
+ void log(const std::string &str);
/**
* Enters debug message in the log. The message will be timestamped.
*/
- void dlog(std::string str);
+ void dlog(const std::string &str);
void setDebugLog(const bool n)
{ mDebugLog = n; }