code: def line_showLog(self):
          
          if self.kernel.mva is None:
              print("Can't show log because no session exists")
          else:
              return self.kernel.Display(HTML(self.kernel.cachedlog))
docs: SAS Kernel magic to show the SAS log for the previous submitted code.
          This magic is only available within the SAS Kernel