Skip to content

Commit

Permalink
Update includes of folly/Logging.h
Browse files Browse the repository at this point in the history
Summary:
folly/Logging.h previously served two functions:
- include <glog/logging.h>
- define the FB_LOG_EVERY_MS() function.

In D7754543 I renamed folly/Logging.h to folly/GLog.h.
In this diff I have updated all users of folly/Logging.h to include
folly/GLog.h instead if they use the `FB_LOG_EVERY_MS()` macro, and to just
include glog/logging.h directly if they do not.

Reviewed By: Orvid

Differential Revision: D7755084

fbshipit-source-id: cb2e92e9fcd90f019701cfbb58903c0bfbc6066f
  • Loading branch information
simpkins authored and facebook-github-bot committed Apr 27, 2018
1 parent e84d618 commit b295017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fboss/agent/SwSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
#include "fboss/agent/gen-cpp2/switch_config_types_custom_protocol.h"
#include "fboss/agent/ThriftHandler.h"
#include <folly/FileUtil.h>
#include <folly/GLog.h>
#include <folly/MacAddress.h>
#include <folly/MapUtil.h>
#include <folly/String.h>
#include <folly/Logging.h>
#include <folly/SocketAddress.h>
#include <folly/system/ThreadName.h>
#include <folly/Demangle.h>
Expand Down
2 changes: 1 addition & 1 deletion fboss/pcap_distribution_service/PcapDistributor.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "fboss/pcap_distribution_service/PcapDistributor.h"

#include <folly/Logging.h>
#include <folly/GLog.h>
#include <functional>
#include <map>
#include <memory>
Expand Down

0 comments on commit b295017

Please sign in to comment.