Made _log_item function private

Signed-off-by: Jérôme Coupé <jercoupe@gmail.com>