diff --git a/src/client/spark_api/utils/Log.cs b/src/client/spark_api/utils/Log.cs index 649f7d202..891548cf1 100644 --- a/src/client/spark_api/utils/Log.cs +++ b/src/client/spark_api/utils/Log.cs @@ -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) { diff --git a/src/client/spark_sdk/samples/SDKMain.cs b/src/client/spark_sdk/samples/SDKMain.cs index 9f48e2e54..857db8664 100644 --- a/src/client/spark_sdk/samples/SDKMain.cs +++ b/src/client/spark_sdk/samples/SDKMain.cs @@ -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=")); diff --git a/src/lib/logging/logging.cpp b/src/lib/logging/logging.cpp index 46d575b2a..e2cd92a96 100644 --- a/src/lib/logging/logging.cpp +++ b/src/lib/logging/logging.cpp @@ -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"}, }; diff --git a/src/lib/logging/logging.h b/src/lib/logging/logging.h index 0bfea9935..a2829d224 100644 --- a/src/lib/logging/logging.h +++ b/src/lib/logging/logging.h @@ -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;