Changed LogItem to immutable type