1 Star 0 Fork 10

SyncGithub/OAuthApp

forked from uncle wang/OAuthApp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nlog.config 1018 Bytes
一键复制 编辑 原始数据 按行查看 历史
uncle wang 提交于 2022-06-14 17:44 +08:00 . 1,添加了服务器在线编辑功能
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true"
internalLogLevel="Info"
internalLogFile="${basedir}/wwwroot/logs/app-log.txt">
<extensions>
<add assembly="NLog.Web.AspNetCore"/>
</extensions>
<targets async="true">
<target xsi:type="File"
name="ApiLogging"
fileName="${basedir}/wwwroot/logs/api/${date:format=yyyyMMdd}/${date:format=HH}.json"
layout="${message}," />
<target xsi:type="Console" name="lifetimeConsole" layout="${MicrosoftConsoleLayout}" />
</targets>
<rules>
<logger name="OAuthApp.Services.ApiRequestLoggingAttribute"
minlevel="Info" writeTo="ApiLogging" final="true" />
<logger name="Microsoft.*" maxlevel="Info" final="true" writeTo="lifetimeConsole" />
<logger name="System.Net.Http.*" maxlevel="Info" final="true" writeTo="lifetimeConsole" />
</rules>
</nlog>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/sync-github/OAuthApp.git
git@gitee.com:sync-github/OAuthApp.git
sync-github
OAuthApp
OAuthApp
master

搜索帮助