Serilog dab dej yog dab tsi?
Serilog dab dej yog dab tsi?

Video: Serilog dab dej yog dab tsi?

Video: Serilog dab dej yog dab tsi?
Video: Serilog ile Loglama | File - Console - Debug 2024, Kaum ib hlis
Anonim

Serilog muab dab dej rau kev sau cov xwm txheej rau kev khaws cia hauv ntau hom ntawv. Ntau yam ntawm dab dej cov npe hauv qab no yog tsim thiab txhawb nqa los ntawm qhov dav Serilog zej zog; thov xa cov lus nug thiab cov teeb meem mus rau lub chaw khaws ntaub ntawv cuam tshuam. Ntau dab dej tuaj yeem nrhiav tau los ntawm kev tshawb nrhiav hauv serilog tag on NuGet.

Ib yam li ntawd, Serilog yog dab tsi?

Serilog yog ib qho portable thiab cov txheej txheem nkag mus rau cov ntaub ntawv kuaj mob rau hauv cov ntaub ntawv, console thiab SQL / NoSQL databases.

Tom qab, lo lus nug yog, Serilog. NET core yog dab tsi? NET , Serilog muab kev tshuaj ntsuam xyuas rau cov ntaub ntawv, lub console, thiab lwm qhov. Nws yog ib qho yooj yim los teeb tsa, muaj API huv si, thiab portable ntawm tsis ntev los no. NET platforms. Tsis zoo li lwm lub tsev qiv ntawv kaw, Serilog yog tsim los nrog cov ntaub ntawv txheej xwm muaj zog hauv siab.

Ntawm no, yog Serilog xov zoo?

Yog lawm, ILogger nyob hauv Serilog yog ib txwm nyab xeeb siv concurrently los ntawm ntau yam xov.

Serilog puas yog async?

Sinks. Async 1.0 - feem ntau Serilog dab dej los ntawm kev sau cov xwm txheej hauv batch, asynchronously , kom txo tau daim ntawv thov latency thiab txhim kho kev ua haujlwm network; ob peb tsis ua, tshwj xeeb tshaj yog Console thiab Cov Ntaub Ntawv / RollingFile dab dej.

Pom zoo: