Removed test code from SDK example

This commit is contained in:
Pedro Pinto committed 2018-08-28 10:21:16 -04:00
1 parent 0695ddc33e
commit d571642454
1 file changed
-17
-17
View File
@@ -9,21 +9,6 @@
using namespace bts;
using namespace bts::md;
void crash_test()
{
auto configuredChannels = get_configured_cme_channels();
std::cout << "crash_test\n";
for (auto &configuredChannel : configuredChannels)
{
LOG(md, Info, "configuredChannel: {}", configuredChannel.id);
for(auto &symbol : configuredChannel.symbols)
{
LOG(md, Info, " symbol: {}", symbol.to_string());
}
}
}
void produce()
{
md::MDProducer producer(co2::PLATFORM_SIM);
@@ -92,8 +77,6 @@ int main()
// this is needed before using any part of the api
utils::init_spark_lib();
crash_test();
// this is how we log, the first arg is the subsystem, md in your
// case the second is the log level: Diag, Info, Warn, Error, Fatal
// the third argument is a format string, followed by arguments