Check if DLog is defined before defining it to avoid warnings/conflicts

Signed-off-by: Jai Govindani <jai@zodio.com>