Skip to content

baobao2016/JackRemoteLog

 
 

Repository files navigation

JackRemoteLog

JackRemoteLog 是一个基于.Net,支持全文检索的远程日志组件

Jack.RemoteLog.WebApi 是服务器端。

使用

部署好服务器端,工程中引用nuget包:Jack.RemoteLog 在配置文件中,设置服务器url

  "Logging": {
    "ServerUrl": "http://127.0.0.1:9000",
    "ContextName": "YourContextName",
    "LogLevel": {
      "Default": "Debug"
    },
    "Console": {
      "LogLevel": {
        "Default": "Information"
      }
    }
  }

注册组件:

            services.AddLogging(builder =>
            {
                builder.AddConfiguration(configuration.GetSection("Logging"));
                builder.AddConsole();
                builder.UseJackRemoteLogger(configuration);
            });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.7%
  • C# 15.2%
  • HTML 3.9%
  • Dockerfile 0.2%