Coder Social home page Coder Social logo

Comments (3)

whir1 avatar whir1 commented on May 24, 2024

Поменять то можно, но по уровням в сислоге идет

0 Emergency: system is unusable
1 Alert: action must be taken immediately
2 Critical: critical conditions
3 Error: error conditions
4 Warning: warning conditions
5 Notice: normal but significant condition
6 Informational: informational messages
7 Debug: debug-level messages

Жалко мапить Verbose и Debug на 7, хотя ты наверное прав. На днях запилю

from serilog-sinks-graylog.

posledam avatar posledam commented on May 24, 2024

Да, всё верно, но в сислоге нет Verbose (Trace), а в Serilog и Microsoft.Extensions.Logging нет Notice, Alert. Так как нет возможности задать уровень 8, придётся и Debug и Verbose мапить на Debug, но это по крайне мере не противоречит концепции уровней журналирования. Ещё есть stringLevel, куда будет записано что это Debug или Versbose.

Спасибо! :)

from serilog-sinks-graylog.

whir1 avatar whir1 commented on May 24, 2024

потрачено

from serilog-sinks-graylog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.