diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-11 19:23:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-11 19:23:27 +0300 |
commit | dbcbc901992ec3a54ec3a1730029b25d94d679b1 (patch) | |
tree | e920682021dea0a2a93e6a6c0365dacd272437cc /src/utils/checkutils.cpp | |
parent | b330124c19e089cdaf7c91a9103f8bce14d8479e (diff) | |
download | mv-dbcbc901992ec3a54ec3a1730029b25d94d679b1.tar.gz mv-dbcbc901992ec3a54ec3a1730029b25d94d679b1.tar.bz2 mv-dbcbc901992ec3a54ec3a1730029b25d94d679b1.tar.xz mv-dbcbc901992ec3a54ec3a1730029b25d94d679b1.zip |
Add reportAlways macroses in xml load errors.
Diffstat (limited to 'src/utils/checkutils.cpp')
-rw-r--r-- | src/utils/checkutils.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp index 661e3efa2..7148b0ed0 100644 --- a/src/utils/checkutils.cpp +++ b/src/utils/checkutils.cpp @@ -54,16 +54,11 @@ void reportAssertStack(const char *const file, void reportLogStack(const char *const file, const unsigned int line, - const char *const func, - const char *const name, - const char *const text) + const char *const func) { - logger->log("--- Assert: %s --------------------------------------------", - name); - logger->log("%s:%u: '%s' in function `%s'", + logger->assertLog("%s:%u: in function `%s'", file, line, - text, func); #ifndef ANDROID #if defined __linux__ || defined __linux |