New logging API and linting