我想使用NLog登录到RavenDb数据库。显然没有现有的NLog目标(根据和搜索),所以我正在尝试编写我自己的。我总是与RavenDb客户端自己的NLog配置发生冲突,并且我不知道如何解决这个问题。这是我的目标:
namespace NLog.RavenDb
{
class LogEntry
{
public string Id { get; set; }
public Exception Exception { get; set; }
public string LogLevel { get; set; }
p
当我在我的项目根目录中创建一个nlog.config文件时,我得到以下消息
Could not find schema information for the element 'http://www.nlog-project.org/schemas/NLog.xsd:nlog'.
Could not find schema information for the element 'http://www.nlog-project.org/schemas/NLog.xsd:targets'.
This is an invalid xsi:type