aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/LogWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/LogWriter.cxx')
-rw-r--r--common/rfb/LogWriter.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/LogWriter.cxx b/common/rfb/LogWriter.cxx
index b222d268..8e39d544 100644
--- a/common/rfb/LogWriter.cxx
+++ b/common/rfb/LogWriter.cxx
@@ -80,7 +80,7 @@ bool LogWriter::setLogParams(const char* params) {
std::vector<std::string> parts;
parts = split(params, ':');
if (parts.size() != 3) {
- fprintf(stderr,"failed to parse log params:%s\n",params);
+ fprintf(stderr, "Failed to parse log params:%s\n",params);
return false;
}
int level = atoi(parts[2].c_str());
@@ -88,7 +88,7 @@ bool LogWriter::setLogParams(const char* params) {
if (!parts[1].empty()) {
logger = Logger::getLogger(parts[1].c_str());
if (!logger)
- fprintf(stderr, "no logger found! %s\n", parts[1].c_str());
+ fprintf(stderr, "No logger found! %s\n", parts[1].c_str());
}
if (parts[0] == "*") {
LogWriter* current = log_writers;
@@ -101,7 +101,7 @@ bool LogWriter::setLogParams(const char* params) {
} else {
LogWriter* logwriter = getLogWriter(parts[0].c_str());
if (!logwriter) {
- fprintf(stderr, "no logwriter found! %s\n", parts[0].c_str());
+ fprintf(stderr, "No logwriter found! %s\n", parts[0].c_str());
} else {
logwriter->setLog(logger);
logwriter->setLevel(level);