printLog method
put printLog method in header
printLog method
test