2 Commits

  1. 4
      Apewer/Logger.cs
  2. 4
      Apewer/Web/ApiOptions.cs

4
Apewer/Logger.cs

@ -13,9 +13,9 @@ namespace Apewer
{
private bool _useconsole = true;
private bool _usefile = false;
private bool _usefile = true;
private bool _uselock = false;
private int _reserved = -1;
private int _reserved = 30;
private LogCollector _collector = null;
private string _lastdate = null;
private Action<LogItem>[] _actions = new Action<LogItem>[0];

4
Apewer/Web/ApiOptions.cs

@ -94,8 +94,8 @@ namespace Apewer.Web
public bool WithDuration { get; set; } = false;
/// <summary>允许响应中包含 Exception 对象的属性。</summary>
/// <remarks>默认值:允许。</remarks>
public bool WithException { get; set; } = false;
/// <remarks>默认值:允许。</remarks>
public bool WithException { get; set; } = true;
/// <summary>允许输出 Application 列表时包含模块名称。</summary>
/// <remarks>默认值:不包含。</remarks>

Loading…
Cancel
Save