diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-04-04 15:24:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-04-04 15:25:38 +0200 |
commit | 09be30729e081a636886ffadc3179469098c5512 (patch) | |
tree | a79ab65356ada4f985843b983653d6fb67dd1a17 /sal/osl | |
parent | 932f5a4b1f001c11bab8fb10d3be324ded13193f (diff) |
Minor tweakings
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/all/log.cxx | 5 |
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); } |