Removed test code from SDK example
This commit is contained in:
1 parent
0695ddc33e
commit
d571642454
1 file changed
-17
@@ -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
|
||||
|
||||
Reference in new issue
Block a user