New logging interface