Added single line logging, with more parameters