Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netstandard beta6- up-to-date with NLog 4.4.2 #1944

Merged
merged 115 commits into from
Feb 18, 2017
Merged

Conversation

304NotModified
Copy link
Member

@304NotModified 304NotModified commented Feb 6, 2017

This change is Reviewable

304NotModified and others added 30 commits December 10, 2016 00:15
In the project there are a number of different formats on how events are
defined in the code. This is a effort to standarise the way the events
are implemented and named in the project without breaking the public
interface.
FileTarget - Mono2 runtime detection to skip using named archive-mutex
Standarise implementation of events
[skip ci]
It fixes the immutability of the static properties AllLevels and
AllLoggingLevels for LogLevel class.
IDisposable is implemented by FileAppenderCache according to Microsoft
recommendations "CA1001: Types that own disposable fields should be
disposable".

Non-breaking change as the class is internal.
FileAppenderCache implements IDisposable
Fix immutability of LogLevel properties
NetworkTarget - UdpNetworkSender should exercise the provided Close-callback
* LogFactory.Dispose() can experience race-condition with reloadTimer

* LogFactory.Dispose() can experience race-condition with reloadTimer  (Added LogFactory.Close)
Helper class ParameterUtils is underused in the project so it is
removed.

This is a non-breaking change as the class is internal.
Helper class ParameterUtils removed
* Correct variable casing.
* Add notice for upcoming maxLogFilenames property rename.
Minor cosmetic changes on FileTarget class
…ble (#1850)

* ConsoleTarget - Encoding is applied on InitializeTarget, if Console is available

* ConsoleTarget - Encoding is applied on InitializeTarget, if Console is available (Test)

* ConsoleTarget - Encoding is applied on InitializeTarget, if Console is available (Fix)

* ConsoleTarget - Encoding is applied on InitializeTarget, if Console is available (Review comments)
Compile MethodInfo into LateBoundMethod-delegate (ReflectedType is deprecated)
FileTarget - Failing to delete old archive files, should not stop logging
* FileTarget - Reopen filehandle when write to file fails

* FileTarget - Reopen filehandle when write to file fails (Review comments)

* FileTarget - Reopen filehandle when file handle fails

* FileTarget - Reopen filehandle when write to file fails (Throttle retry)
…1853)

* AsyncTargetWrapper - Flush should start immediately, and not wait for timer-event (Now blocking)

* AsyncTargetWrapper - Flush should start immediately, and not wait for timer-event (Custom targets with broken flush, should not get artificial help)

* AsyncTargetWrapper - Flush should start immediately, and not wait for timer-event (QueueUserWorkItem)
@304NotModified 304NotModified changed the title netstandard beta6- up-to-date with NLog 4.4.2wor netstandard beta6- up-to-date with NLog 4.4.2 Feb 6, 2017
@304NotModified
Copy link
Member Author

merge partial done, but a lot work to fix the build and tests

Костюков Александр and others added 11 commits February 13, 2017 19:50
Remove '-' sign from the expected string, as in case of negative
offset '-' sign will already be present.
Emphasize that C# 6.0 support is required to build Unit Test project.
Remove trailing spaces.
Fix regression issue from 3bd3eb9.
Category was read from the EventId configuration property
instead of its own property and was always set incorrectly.
Add a note on building unit test project to README
Fix TimeZoneTest for negative offset
EventLogTarget: Properly parse and set EventLog category
System.UriFormatException on load (Mono)
# Conflicts:
#	appveyor.yml
#	src/NLog/Common/AsyncHelpers.cs
#	src/NLog/Common/InternalLogger.cs
#	src/NLog/Config/ConfigurationItemFactory.cs
#	src/NLog/Internal/FileAppenders/BaseMutexFileAppender.cs
#	src/NLog/Internal/FileAppenders/FileAppenderCache.cs
#	src/NLog/Internal/FileAppenders/WindowsMultiProcessFileAppender.cs
#	src/NLog/Internal/FilePathLayout.cs
#	src/NLog/Internal/NativeMethods.cs
#	src/NLog/Internal/PlatformDetector.cs
#	src/NLog/Internal/Win32ThreadIDHelper.cs
#	src/NLog/LayoutRenderers/BaseDirLayoutRenderer.cs
#	src/NLog/LayoutRenderers/Log4JXmlEventLayoutRenderer.cs
#	src/NLog/LayoutRenderers/QueryPerformanceCounterLayoutRenderer.cs
#	src/NLog/LogFactory.cs
#	src/NLog/LogManager.cs
#	src/NLog/NLog.Xamarin.Android.csproj
#	src/NLog/NLog.Xamarin.iOS.csproj
#	src/NLog/NLog.doc.csproj
#	src/NLog/NLog.mono.csproj
#	src/NLog/NLog.netfx35.csproj
#	src/NLog/NLog.netfx40.csproj
#	src/NLog/NLog.netfx45.csproj
#	src/NLog/NLog.sl4.csproj
#	src/NLog/NLog.sl5.csproj
#	src/NLog/NLog.wp7.csproj
#	src/NLog/NLog.wp71.csproj
#	src/NLog/NLog.wp8.csproj
#	src/NLog/Properties/AssemblyInfo.cs
#	src/NLog/Targets/ColoredConsoleTarget.cs
#	src/NLog/Targets/FileTarget.cs
#	src/NLog/Targets/OutputDebugStringTarget.cs
#	src/NLog/Targets/Wrappers/ImpersonatingTargetWrapper.cs
#	src/NLog/Targets/Wrappers/RetryingTargetWrapper.cs
#	tests/NLog.UnitTests/Common/InternalLoggerTests.cs
#	tests/NLog.UnitTests/Config/IncludeTests.cs
#	tests/NLog.UnitTests/LayoutRenderers/BaseDirTests.cs
#	tests/NLog.UnitTests/NLog.UnitTests.mono.csproj
#	tests/NLog.UnitTests/NLog.UnitTests.netfx35.csproj
#	tests/NLog.UnitTests/NLog.UnitTests.netfx40.csproj
#	tests/NLog.UnitTests/NLog.UnitTests.netfx45.csproj
#	tests/NLog.UnitTests/NLogTestBase.cs
#	tests/NLog.UnitTests/Targets/ConcurrentFileTargetTests.cs
#	tests/NLog.UnitTests/Targets/FileTargetTests.cs
#	tests/NLog.UnitTests/Targets/Wrappers/AsyncTargetWrapperTests.cs
#	tests/NLog.UnitTests/Targets/Wrappers/BufferingTargetWrapperTests.cs
#	tests/NLog.UnitTests/Targets/Wrappers/ImpersonatingTargetWrapperTests.cs
@304NotModified 304NotModified merged commit 023b27a into coreCLR Feb 18, 2017
@304NotModified 304NotModified deleted the coreCLR-beta6 branch February 18, 2017 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants