Added complete logging example