Level LessThanOrEqual Operator | Apache log4net™ SDK Documentation

Returns a value indicating whether a specified Level is less than or equal to another specified Level.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static bool operator <=(
    	Level l,
    	Level r
    )

    Public Shared Operator <= (
    	l As Level,
    	r As Level
    ) As Boolean

    public:
    static bool operator <=(
    	Level^ l,
    	Level^ r
    )

    static let inline (<=)
            l : Level *
            r : Level  : bool

#### Parameters

l
  Type: log4net.Core
  Level
  A Level
r
  Type: log4net.Core
  Level
  A Level

#### Return Value

Type: Boolean
true if l is less than or equal to r; otherwise, false.
Remarks

Compares two levels.

See Also

#### Reference

Level Class
log4net.Core Namespace