define self log debug