init
This commit is contained in:
BIN
app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nupkg
vendored
Normal file
BIN
app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nupkg
vendored
Normal file
Binary file not shown.
23
app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nuspec
vendored
Normal file
23
app/packages/NLog.Config.4.1.2/NLog.Config.4.1.2.nuspec
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>NLog.Config</id>
|
||||
<version>4.1.2</version>
|
||||
<title>NLog Configuration</title>
|
||||
<authors>Kim Christensen, Julian Verdurmen</authors>
|
||||
<owners>Kim Christensen, Julian Verdurmen</owners>
|
||||
<licenseUrl>http://raw.github.com/NLog/NLog/master/LICENSE.txt</licenseUrl>
|
||||
<projectUrl>http://nlog-project.org/</projectUrl>
|
||||
<iconUrl>http://nlog-project.org/NConfig.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Empty NLog.config file.</description>
|
||||
<summary>NLog.config file to get started with NLog.</summary>
|
||||
<releaseNotes>NLog 4.1.2</releaseNotes>
|
||||
<language>en-US</language>
|
||||
<tags>nlog xml config</tags>
|
||||
<dependencies>
|
||||
<dependency id="NLog.Schema" version="4.0.1" />
|
||||
<dependency id="NLog" version="4.1.2" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
42
app/packages/NLog.Config.4.1.2/content/NLog.config
vendored
Normal file
42
app/packages/NLog.Config.4.1.2/content/NLog.config
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<?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="Off" internalLogFile="c:\temp\nlog-internal.log" >
|
||||
|
||||
|
||||
<!-- optional, add some variabeles
|
||||
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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Writing events to the a file with the date in the filename.
|
||||
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
|
||||
layout="${longdate} ${uppercase:${level}} ${message}" />
|
||||
-->
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
<!-- add your logging rules here -->
|
||||
|
||||
<!--
|
||||
Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace) to "f"
|
||||
<logger name="*" minlevel="Debug" writeTo="f" />
|
||||
-->
|
||||
</rules>
|
||||
</nlog>
|
||||
12
app/packages/NLog.Config.4.1.2/tools/Install.ps1
vendored
Normal file
12
app/packages/NLog.Config.4.1.2/tools/Install.ps1
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$configItem = $project.ProjectItems.Item("NLog.config")
|
||||
|
||||
# set 'Copy To Output Directory' to 'Copy if newer'
|
||||
$copyToOutput = $configItem.Properties.Item("CopyToOutputDirectory")
|
||||
$copyToOutput.Value = 1
|
||||
|
||||
# set 'Build Action' to 'Content'
|
||||
$buildAction = $configItem.Properties.Item("BuildAction")
|
||||
$buildAction.Value = 2
|
||||
|
||||
Reference in New Issue
Block a user