Add a check to see if DLog is already defined.