XLog.LogConfig.GetLogs C# (CSharp) Method

GetLogs() public method

public GetLogs ( ) : string
return string
        public string GetLogs()
        {
            foreach (var targetConfig in TargetConfigs)
            {
                var asLogStorage = targetConfig.Target as ILogStorage;
                if (asLogStorage != null)
                {
                    return asLogStorage.GetLastLogs();
                }
            }

            return string.Empty;
        }