for(int i=0;i<10;i++) {
log.info("HelloWorld msg_" + i);
}
Random randomGenerator = new Random();
KeyValueSerialization kv = new KeyValueSerialization();
for(int i=0;i<10;i++) {
kv.startMessage("HonuTestTable");
kv.addKeyValue("key1", ((i%2==0)?"true":"false") );
kv.addKeyValue("key2", i );
kv.addKeyValue("key3", randomGenerator.nextInt(1000) );
log.info(kv.generateMessage());
}
Thread.sleep(20*1000);
LogManager.shutdown();
}