summaryrefslogtreecommitdiff
path: root/zen/debug_log.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/debug_log.h')
-rw-r--r--zen/debug_log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/debug_log.h b/zen/debug_log.h
index 43b2fea3..6be81e89 100644
--- a/zen/debug_log.h
+++ b/zen/debug_log.h
@@ -56,7 +56,7 @@ public:
const std::string& message)
{
const std::string logEntry = "[" + formatTime<std::string>(FORMAT_TIME) + "] " + afterLast(sourceFile, ZEN_FILE_NAME_SEPARATOR) +
- ", line " + toString<std::string>(sourceRow) + ": " + message + "\n";
+ ", line " + numberTo<std::string>(sourceRow) + ": " + message + "\n";
const size_t bytesWritten = ::fwrite(logEntry.c_str(), 1, logEntry.size(), handle);
if (std::ferror(handle) != 0 || bytesWritten != logEntry.size())
bgstack15