1 Star 0 Fork 0

Vidyo_China/CefWebrtcDemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
NLog.config 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
<?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"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="true"
throwExceptions="false"
internalLogLevel="Info"
internalLogFile="${specialfolder:folder=ApplicationData}/LSSVC/CefWebrtcDemo/logs/nlog-internal.log">
<!-- optional, add some variables
https://github.com/nlog/NLog/wiki/Configuration-file#variables
-->
<variable name="myvar" value="myvalue"/>
<!--
See https://github.com/nlog/nlog/wiki/Configuration-file
for information on customizing logging rules and outputs.
-->
<targets>
<!--
add your targets here
See https://github.com/nlog/NLog/wiki/Targets for possible targets.
See https://github.com/nlog/NLog/wiki/Layout-Renderers for the possible layout renderers.
-->
<!--write log message to Visual Studio Output-->
<target name="debugger" xsi:type="Debugger"
layout="NLog: ${date:format=HH\:mm\:ss} | ${level:uppercase=true:padding=-5} | ${message}"/>
<!-- write logs to file -->
<target xsi:type="File" name="f"
fileName="${specialfolder:folder=ApplicationData}/LSSVC/CefWebrtcDemo/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}"/>
</targets>
<rules>
<!--TRACE,DEBUG,INFO,WARN,ERROR,FATAL-->
<logger name="*" minlevel="Trace" writeTo="debugger"/>
<!--INFO,WARN,ERROR,FATAL-->
<!-- <logger name="*" minlevel="Info" writeTo="db" /> -->
<!--DEBUG,INFO,WARN,ERROR,FATAL-->
<logger name="*" minlevel="Debug" writeTo="f"/>
</rules>
</nlog>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/vidyo_china/cef-webrtc-demo.git
git@gitee.com:vidyo_china/cef-webrtc-demo.git
vidyo_china
cef-webrtc-demo
CefWebrtcDemo
master

搜索帮助