CustomLog takes two or three arguments