Changed some calls to (f)printf with calls to GlobalLogger's members.