log file creating
output support for object. fix #21