add support for DebugLogger & ErrorLogger