summaryrefslogtreecommitdiff
path: root/src/mongo/util/util.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-04-05 16:21:23 -0400
committerEric Milkie <milkie@10gen.com>2012-04-05 16:54:11 -0400
commit1d0aa0508067701394b597b982a9a804adb7f208 (patch)
tree8f464101c71171c0682b109a37097cd0553cd66d /src/mongo/util/util.cpp
parentd0235e5499f7d484d767fe8cfb792440d5efbd96 (diff)
downloadmongo-1d0aa0508067701394b597b982a9a804adb7f208.tar.gz
pare down pch.h some more
Moved some things out of pch.h; removed outright some other things.
Diffstat (limited to 'src/mongo/util/util.cpp')
-rw-r--r--src/mongo/util/util.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mongo/util/util.cpp b/src/mongo/util/util.cpp
index 70ccefaecec..56f911bf5b2 100644
--- a/src/mongo/util/util.cpp
+++ b/src/mongo/util/util.cpp
@@ -193,24 +193,6 @@ namespace mongo {
printStackTrace();
}
- /* note: can't use malloc herein - may be in signal handler.
- logLockless() likely does not comply and should still be fixed todo
- likewise class string?
- */
- void rawOut( const string &s ) {
- if( s.empty() ) return;
-
- char buf[64];
- time_t_to_String( time(0) , buf );
- /* truncate / don't show the year: */
- buf[19] = ' ';
- buf[20] = 0;
-
- Logstream::logLockless(buf);
- Logstream::logLockless(s);
- Logstream::logLockless("\n");
- }
-
ostream& operator<<( ostream &s, const ThreadSafeString &o ) {
s << o.toString();
return s;