Log errors with plugin log method