Log printer functions added