tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

FileSystemLog.h (782B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef DOM_FS_SHARED_FILESYSTEMLOG_H_
      8 #define DOM_FS_SHARED_FILESYSTEMLOG_H_
      9 
     10 #include "mozilla/Logging.h"
     11 
     12 namespace mozilla {
     13 extern LazyLogModule gOPFSLog;
     14 }
     15 
     16 #define LOG(args) MOZ_LOG(mozilla::gOPFSLog, mozilla::LogLevel::Debug, args)
     17 
     18 #define LOG_VERBOSE(args) \
     19  MOZ_LOG(mozilla::gOPFSLog, mozilla::LogLevel::Verbose, args)
     20 
     21 #define LOG_ENABLED() MOZ_LOG_TEST(mozilla::gOPFSLog, mozilla::LogLevel::Debug)
     22 
     23 #endif  // DOM_FS_SHARED_FILESYSTEMLOG_H