Rename Log subsystem ClientSdk to just Sdk

This commit is contained in:
Eric Harding committed 2019-10-17 17:25:20 -04:00
1 parent 04f165b1a3
commit 3b8a4f89cc
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ namespace bts {
Latency,
DataFlow,
Plugin,
ClientSdk,
Sdk,
Http,
// Please keep this list in sync with logging.h/logging.cpp
}
@@ -103,7 +103,7 @@ namespace bts {
internal static Logger Ui => new Logger(Subsystem.Ui);
internal static Logger Testing => new Logger(Subsystem.Testing);
internal static Logger DataFlow => new Logger(Subsystem.DataFlow);
public static Logger ClientSdk => new Logger(Subsystem.ClientSdk);
public static Logger Sdk => new Logger(Subsystem.Sdk);
public static Logger Http => new Logger(Subsystem.Http);
internal static void log_at(this Logger logger, Level level, string message) {
+1 -1
View File
@@ -23,7 +23,7 @@ namespace bts.sdk
public static void Main(string[] args)
{
BTS.init();
Log.ClientSdk.info("Welcome to the BTS Client Side SDK example");
Log.Sdk.info("Welcome to the BTS Client Side SDK example");
var ctx = new ServiceContext();
string u = args.FirstOrDefault(x => x.Contains("--user="));
+1 -1
View File
@@ -118,7 +118,7 @@ void configure_logging(bts::config::Logging const&cfg, bts::config::ThreadGroupC
{log::Latency,"Latency"},
{log::DataFlow,"DataFlow"},
{log::Plugin,"Plugin"},
{log::ClientSdk,"ClientSdk"},
{log::Sdk,"Sdk"},
{log::Http,"Http"},
};
+2 -2
View File
@@ -44,8 +44,8 @@ constexpr log::Subsystem Testing {Mercury.ordinal+1 };
constexpr log::Subsystem Latency {Testing.ordinal+1 };
constexpr log::Subsystem DataFlow {Latency.ordinal+1 };
constexpr log::Subsystem Plugin {DataFlow.ordinal+1 };
constexpr log::Subsystem ClientSdk {Plugin.ordinal+1 };
constexpr log::Subsystem Http {ClientSdk.ordinal+1 };
constexpr log::Subsystem Sdk {Plugin.ordinal+1 };
constexpr log::Subsystem Http {Sdk.ordinal+1 };
struct LoggerHandle {
LoggerHandle(LoggerHandle const&) = delete;