private string GetLogXsltContent() { string applicationPath = LogConstants.GetSetupDir() + "\\"; string content = (string.IsNullOrWhiteSpace(logConfig.FileLogSource.LogXslt)) ? GetXmlEmbeddedResourceContent("log.xslt") : GetFileContent(applicationPath + logConfig.FileLogSource.LogXslt); return(AddXmlHeader(content)); }
private static LogConfig GetLogConfig() { string path = LogConstants.GetSetupDir() + @"\logger.xml"; return(LogConstants.DeserializeLogConfig(path)); }