Log4Net Levels Numeric Values

后端 未结 2 723
一生所求
一生所求 2021-02-01 07:50

I can\'t seem to find the numeric values for the predefined levels in Log4Net. Can anybody point me to them?

2条回答
  •  失恋的感觉
    2021-02-01 08:02

    The trunk code for Level.cs gives these numbers:

    • Off: int.MaxValue (2,147,483,647; 0x7FFFFFFF)
    • Emergency: 120000
    • Fatal: 110000
    • Alert: 100000
    • Critical: 90000
    • Severe: 80000
    • Error: 70000
    • Warn: 60000
    • Notice: 50000
    • Info: 40000
    • Debug: 30000
    • Fine: 30000
    • Trace: 20000
    • Finer: 20000
    • Verbose: 10000
    • Finest: 10000
    • All: int.MinValue (-2,147,483,648; 0x80000000)

提交回复
热议问题