EwsLog Property
Gets the object used for logging MailBee activities into a file or memory buffer.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Logger Log { get; }

Property Value

Type: Logger
A reference to the object used for logging MailBee activities into a file or memory buffer.
Remarks

Ews class has its own logging which you can configure using this property. It works all the same for all MailBee network components, see Imap.Log for examples.

However, as Ews class is just a wrapper for EWS Managed API library, most of activities take place in its code. To get more comprehensive logging (such as for debugging), you can also enable tracing of all network requests. This will let you see what's EWS Managed API layer is doing under the hood.

Examples
This is what you need to add into app.config or web.config to enable tracing of network requests into "network.log" file in the application folder. You can specify absolute path as well (just make sure your application is allowed to write into the specified location).
<system.diagnostics>
  <sources>
    <source name="System.Net" tracemode="protocolonly" maxdatasize="4096">
      <listeners>
        <add name="System.Net"/>
      </listeners>
    </source>
  </sources>
  <switches>
    <add name="System.Net" value="Verbose"/>
    <add name="System.Net.Cache" value="Verbose"/>
    <add name="System.Net.Http" value="Verbose"/>
    <add name="System.Net.Sockets" value="Verbose"/>
    <add name="System.Net.WebSockets" value="Verbose"/>
  </switches>
  <sharedListeners>
    <add name="System.Net"
      type="System.Diagnostics.TextWriterTraceListener"
      initializeData="network.log"
    />
  </sharedListeners>
  <trace autoflush="true"/>
</system.diagnostics>
See Also