CacheLog.cpp 633 B

1234567891011121314151617181920212223
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. #include "CacheLog.h"
  5. namespace mozilla {
  6. namespace net {
  7. // Log module for cache2 (2013) cache implementation logging...
  8. //
  9. // To enable logging (see prlog.h for full details):
  10. //
  11. // set MOZ_LOG=cache2:5
  12. // set MOZ_LOG_FILE=network.log
  13. //
  14. // This enables LogLevel::Debug level information and places all output in
  15. // the file network.log.
  16. LazyLogModule gCache2Log("cache2");
  17. } // namespace net
  18. } // namespace mozilla