summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-02 11:48:26 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-02 11:48:26 +0000
commit1e5ca1852e059d640a7d2c080a2d7a79d53b37e8 (patch)
tree52772570ead0b618c781d1f86dd247deba89fee8 /src/log.cpp
parentb8dbdb628ba7a07a785e494d0ed76ebfe9e06615 (diff)
downloadmana-1e5ca1852e059d640a7d2c080a2d7a79d53b37e8.tar.gz
mana-1e5ca1852e059d640a7d2c080a2d7a79d53b37e8.tar.bz2
mana-1e5ca1852e059d640a7d2c080a2d7a79d53b37e8.tar.xz
mana-1e5ca1852e059d640a7d2c080a2d7a79d53b37e8.zip
Prettier errors when things go wrong.
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/log.cpp b/src/log.cpp
index df7b4fd5..d71c55d6 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -33,7 +33,8 @@ Logger::Logger(const std::string &logFilename)
if (!logFile.is_open())
{
- std::cout << "Warning: error while opening log file.\n";
+ std::cout << "Warning: error while opening " << logFilename <<
+ " for writing.\n";
}
}