Move logger instantiation out of statistic static method