Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using NLog to log messages to LogEntries
- Loading branch information
Showing
40 changed files
with
167,560 additions
and
15,905 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
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
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
File renamed without changes.
70 changes: 70 additions & 0 deletions
70
src/packages/Castle.Core-NLog.3.0.0.4001/BreakingChanges.txt
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,70 @@ | ||
================================================================================================ | ||
change - Removed overloads of logging methods that were taking format string from ILogger and | ||
ILogger and IExtendedLogger and didn't have word Format in their name. | ||
For example: | ||
void Error(string format, params object[] args); // was removed | ||
void ErrorFormat(string format, params object[] args); //use this one instead | ||
|
||
|
||
impact - low | ||
fixability - medium | ||
revision - | ||
|
||
description - To minimize confusion and duplication those methods were removed. | ||
|
||
fix - Use methods that have explicit "Format" word in their name and same signature. | ||
================================================================================================ | ||
change - Removed WebLogger and WebLoggerFactory | ||
|
||
impact - low | ||
fixability - medium | ||
revision - | ||
|
||
description - To minimize management overhead the classes were removed so that only single | ||
Client Profile version of Castle.Core can be distributed. | ||
|
||
fix - You can use NLog or Log4Net web logger integration, or reuse implementation of existing | ||
web logger and use it as a custom logger. | ||
|
||
================================================================================================ | ||
change - Removed obsolete overload of ProxyGenerator.CreateClassProxy | ||
|
||
impact - low | ||
fixability - trivial | ||
revision - | ||
|
||
description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the | ||
method consistent with other methods and to remove confusion | ||
|
||
fix - whenever removed overload was used, use one of the other overloads. | ||
|
||
================================================================================================ | ||
change - IProxyGenerationHook.NonVirtualMemberNotification method was renamed | ||
|
||
impact - high | ||
fixability - easy | ||
revision - | ||
|
||
description - to accommodate class proxies with target method NonVirtualMemberNotification on | ||
IProxyGenerationHook type was renamed to more accurate NonProxyableMemberNotification | ||
since for class proxies with target not just methods but also fields and other member that | ||
break the abstraction will be passed to this method. | ||
|
||
fix - whenever NonVirtualMemberNotification is used/implemented change the method name to | ||
NonProxyableMemberNotification. Implementors should also accommodate possibility that not | ||
only MethodInfos will be passed as method's second parameter. | ||
|
||
================================================================================================ | ||
change - DynamicProxy will now allow to intercept members of System.Object | ||
|
||
impact - very low | ||
fixability - easy | ||
revision - | ||
|
||
description - to allow scenarios like mocking of System.Object members, DynamicProxy will not | ||
disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook) | ||
will still filter them out though. | ||
|
||
fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's | ||
members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods | ||
and if neccessary update the code to handle them appropriately. |
Binary file added
BIN
+33.8 KB
src/packages/Castle.Core-NLog.3.0.0.4001/Castle.Core-NLog.3.0.0.4001.nupkg
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file renamed
BIN
+24 KB
...e.Services.Logging.Log4netIntegration.dll → ...stle.Services.Logging.NLogIntegration.dll
Binary file not shown.
Binary file renamed
BIN
+24 KB
...e.Services.Logging.Log4netIntegration.dll → ...stle.Services.Logging.NLogIntegration.dll
Binary file not shown.
Oops, something went wrong.