diff options
author | Shaun Verch <shaun.verch@10gen.com> | 2012-10-24 10:45:27 -0700 |
---|---|---|
committer | Shaun Verch <shaun.verch@10gen.com> | 2012-10-24 12:41:34 -0700 |
commit | 892aad0c2fd35985f12b052668f1e37195c17740 (patch) | |
tree | 17c9c1d67d9eb57fedadcb0c86337130c0028db7 /src/mongo/util/background.cpp | |
parent | 0d61667c3870e9d0c9e04bd7475773ad3227e4e8 (diff) | |
download | mongo-892aad0c2fd35985f12b052668f1e37195c17740.tar.gz |
SERVER-7231 Use LOG(level) macro instead of log(level) function
Diffstat (limited to 'src/mongo/util/background.cpp')
-rw-r--r-- | src/mongo/util/background.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/background.cpp b/src/mongo/util/background.cpp index f1c89633268..4fca89b5310 100644 --- a/src/mongo/util/background.cpp +++ b/src/mongo/util/background.cpp @@ -64,10 +64,10 @@ namespace mongo { run(); } catch ( std::exception& e ) { - log( LL_ERROR ) << "backgroundjob " << name() << "error: " << e.what() << endl; + LOG( LL_ERROR ) << "backgroundjob " << name() << "error: " << e.what() << endl; } catch(...) { - log( LL_ERROR ) << "uncaught exception in BackgroundJob " << name() << endl; + LOG( LL_ERROR ) << "uncaught exception in BackgroundJob " << name() << endl; } { |