블로그 이미지
This blog covers the latest technologies in Microsoft .Net. In 2020, I will be talking about Uno Platform frequently. http://youtube.com/FutureOfDotNet kaki104

카테고리

List All (621)
Uno Platform (5)
Visual Studio (7)
Blazor (2)
Windows App(Universa.. (110)
Xamarin Forms (4)
Bot Framework (19)
Azure (10)
Windows 10 (53)
WPF (7)
Facebook News & Tips (158)
Windows 8&8.1 (113)
Windows Phone 8 (42)
Silverlight (37)
HTML5 & MVC4 (16)
Portable Class Library (2)
Uncategorised Tips a.. (3)
Kinect for Windows (2)
ETC (12)
kaki104 Scrap (4)
App News (13)
Total565,951
Today8
Yesterday106

 

https://youtu.be/3QhmCj5T3pA

 

1. Application Log, Logger 

- 참고
https://michaelscodingspot.com/logging-in-dotnet/
- Application Log
소프트웨어 응용 프로그램에서 오류, 정보, 이벤트 및 경고 등의 데이터를 기록한 어떤것(파일, 데이터 등)을 이야기 합니다.
- Logger
로그를 남기기 위한 클래스나 도구를 이야기합니다.
멀티 스레드 환경과 비동기 환경에서 로그를 남길 때 매우 유용

2. Where do you store the Logs?

- File system
- Database
- Searchable Solutions
- Logging to Standard Output (Console) and Debug Output (Trace)
- Logging to Event Viewer
- Log to Event Tracing for Windows(ETW)

3. Top NuGet Logging packages

- Serilog – 64.2M
- NLog – 40.2M
- Log4Net - 39.2M
- Splat – 2.99M
- …
- Serilog vs NLog 성능 비교
https://github.com/pcTOR/LoggingPerformance/issues/1#issuecomment-397869472

4. Log4Net
http://logging.apache.org/log4net/

- Features
  여러 프레임워크 지원
  다중 Targets 지원
  계층적 로깅 아키텍처
  XML Configuration
  Dynamic Configuration
  Logging Context
  Proven architecture
  Modular and extensible design

5. NLog
https://nlog-project.org/

- 손쉬운 구성
Configuration file and programmatically
- 템플릿 지원
Layout renders
- 확장성
Custom targets or pass custom values
- 구조화된 로깅

6. Serilog
https://serilog.net/

손쉬운 설정, 깔끔한 API, 모든 최신 .NET 플랫폼에 적용가능
강력한 구조화 된 이벤트 데이터

7. 소스
https://github.com/kaki104/LoggerExample

 

Posted by kaki104

댓글을 달아 주세요