Updated logger api