Logger: Create common logger functions.