summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-04 15:24:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-04 15:25:38 +0200
commit09be30729e081a636886ffadc3179469098c5512 (patch)
treea79ab65356ada4f985843b983653d6fb67dd1a17 /sal/osl
parent932f5a4b1f001c11bab8fb10d3be324ded13193f (diff)
Minor tweakings
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/all/log.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 43d704541a0b..bac0e9313919 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -156,12 +156,13 @@ void log(
char const * message)
{
std::ostringstream s;
- if (level == SAL_DETAIL_LOG_LEVEL_DEBUG)
+ if (level == SAL_DETAIL_LOG_LEVEL_DEBUG) {
s << toString(level) << ':' << /*no where*/' ' << message << '\n';
- else
+ } else {
s << toString(level) << ':' << area << ':' << OSL_DETAIL_GETPID << ':'
<< osl::Thread::getCurrentIdentifier() << ':' << where << message
<< '\n';
+ }
std::fputs(s.str().c_str(), stderr);
}