Method ToLogSourceToLogSource()Creates a LogSource from the current legacy Logger. Declaration public LogSource ToLogSource() Returns Type Description LogSource