Method ToLogSourceToLogSource()Creates a LogSource from the current legacy Logger. Declaration Full screenpublic LogSource ToLogSource() Returns Type Description LogSource A LogSource that corresponds to the current Logger.