Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added option to not render empty literals on nested json objects (#1580) * Added option to not render empty objects on nested json objects * Add support for name parameter on (#1578) * Bugfix: Use the culture when rendering the layout (#1556) * Added unit tests * Use the correct culture for rendering the string * fix SL / fix tests * fix culture * split IFormatProvider and CultureInfo * added related test * update/expand tests * fix xplat * Allow overwriting possible nlog configuration file paths (#1469) * Allow overwriting possible nlog configuration file paths * Redesign after review * Added tests * Improvements after review * move statics to XmlLoggingConfiguration * FileTarget: Performance improvement for CleanupInvalidFileNameChars (#1582) * FileTarget: Performance improvement for CleanupInvalidFileNameChars * Added unit test * Update for NLog 4.3.7 * Update README.md [skip ci] * fix unit test (#1589) * Misc. fixes for .NET Core * Remove wrap projects
- Loading branch information
1 parent
bb4db55
commit 086ff66
Showing
52 changed files
with
807 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,66 @@ | ||
language: csharp | ||
os: osx | ||
mono: | ||
- latest | ||
language: generic | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- gettext | ||
- libcurl4-openssl-dev | ||
- libicu-dev | ||
- libssl-dev | ||
- libunwind8 | ||
- zlib1g | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
dist: trusty # Ubuntu 14.04 | ||
sudo: required | ||
env: CONFIGURATION=Debug | ||
- os: linux | ||
dist: trusty | ||
sudo: required | ||
env: CONFIGURATION=Release | ||
- os: osx | ||
osx_image: xcode7.2 # macOS 10.11 | ||
env: CONFIGURATION=Debug | ||
- os: osx | ||
osx_image: xcode7.2 | ||
env: CONFIGURATION=Release | ||
|
||
before_install: | ||
# Install OpenSSL | ||
- if test "$TRAVIS_OS_NAME" == "osx"; then | ||
brew install openssl; | ||
brew link --force openssl; | ||
export DOTNET_SDK_URL="https://go.microsoft.com/fwlink/?LinkID=809128"; | ||
else | ||
export DOTNET_SDK_URL="https://go.microsoft.com/fwlink/?LinkID=809129"; | ||
fi | ||
|
||
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli" | ||
|
||
# Install .NET CLI | ||
- mkdir $DOTNET_INSTALL_DIR | ||
- curl -L $DOTNET_SDK_URL -o dotnet_package | ||
- tar -xvzf dotnet_package -C $DOTNET_INSTALL_DIR | ||
|
||
# Add dotnet to PATH | ||
- export PATH="$DOTNET_INSTALL_DIR:$PATH" | ||
|
||
install: | ||
# Display dotnet version info | ||
- which dotnet; | ||
if [ $? -eq 0 ]; then | ||
echo "Using dotnet:"; | ||
dotnet --info; | ||
else | ||
echo "dotnet.exe not found" | ||
exit 1; | ||
fi | ||
|
||
# Restore dependencies | ||
- dotnet restore | ||
|
||
script: | ||
- curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview1/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 1.0.0-preview1-002702 --install-dir ~/dotnet | ||
- ln -s /usr/local/share/dotnet/dotnet /usr/local/bin/ | ||
- dotnet restore .\src\NLog\ | ||
- dotnet pack .\src\NLog\ --configuration release | ||
# Run tests | ||
- dotnet test tests/NLog.UnitTests --configuration $CONFIGURATION -f netcoreapp1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"version": "1.0.0-*", | ||
"description": "DnxCore50SimpleConsoleApp Console Application", | ||
"authors": [ "Vincent" ], | ||
"packOptions": { | ||
"tags": [ "" ], | ||
"projectUrl": "", | ||
"licenseUrl": "", | ||
}, | ||
|
||
"compilationOptions": { | ||
"emitEntryPoint": true | ||
}, | ||
|
||
"dependencies": { | ||
}, | ||
|
||
"frameworks": { | ||
"netcoreapp1.0": { | ||
"dependencies": { | ||
"Microsoft.NETCore.App": { | ||
"type": "platform", | ||
"version": "1.0.0" | ||
}, | ||
"NLog": { | ||
"target": "project" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
{ | ||
"dependencies": { | ||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0", | ||
"NLog": "" | ||
"NLog": { | ||
"target": "project" | ||
}, | ||
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2" | ||
}, | ||
"frameworks": { | ||
"uap10.0": {} | ||
}, | ||
"runtimes": { | ||
"win10-arm": {}, | ||
"win10-arm-aot": {}, | ||
"win10-x86": {}, | ||
"win10-x86-aot": {}, | ||
"win10-x64": {}, | ||
"win10-x64-aot": {} | ||
"uap10.0": { } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"projects": [ "src", "tests" ], | ||
"sdk": { | ||
"version": "1.0.0-preview2-003121" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.