cnblogs / EnyimMemcachedCore

.NET Memcached client. Available on https://www.nuget.org/packages/EnyimMemcachedCore
Apache License 2.0
162 stars 45 forks source link

How to turn on logging #96

Closed dorlandode closed 5 years ago

dorlandode commented 5 years ago

How do I turn on logging for EnyimMemcachedCore? StoreAsync is returning false, but I don't know why.

cnblogs-dudu commented 5 years ago

If using Serilog, add the following setting in appsettings.json.

"Serilog": {    
  "Override": {        
      "Enyim.Caching": "Debug"
    }
  }
}