Wei.Logger 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package Wei.Logger --version 1.0.6
NuGet\Install-Package Wei.Logger -Version 1.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Wei.Logger" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wei.Logger --version 1.0.6
#r "nuget: Wei.Logger, 1.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Wei.Logger as a Cake Addin
#addin nuget:?package=Wei.Logger&version=1.0.6

// Install Wei.Logger as a Cake Tool
#tool nuget:?package=Wei.Logger&version=1.0.6

目前只支持两种日志方式
 <appSettings>
   <!--写日志的方式,可配置1文本,2数据库(mongoDb),默认值为1-->
   <add key="WriteLogMethod" value="1,2"/>
   <!--如果是要写入数据库,需要添加以下配置信息-->
   <add key="MongoDbCon" value="mongodb://IP:27017"/>
 </appSettings>

C# Code
           写日志
           var demo = new WriteLog();
           demo.Run(logInfo);

         //日志查询,仅限mongoDb
           var demo = new SearchLog();
           List<LogInfo> logInfos = demo.QueryPageLogs(params)

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 987 8/25/2017
1.1.0 859 8/25/2017
1.0.9 839 8/25/2017
1.0.8 850 8/25/2017
1.0.7 852 8/25/2017
1.0.6 832 8/25/2017
1.0.5 857 8/8/2017
1.0.4 971 8/4/2017
1.0.3 1,011 7/24/2017
1.0.2 987 7/24/2017
1.0.1 1,106 7/23/2017
1.0.0 953 7/23/2017

增加了一种写入方法,日志程序自动获取上一级的类名和方法名