fixed araqne/issue#506. support AbstractLogger.onResetStates() callback. logger can reset instance's other states.