Class ConditionalLogger
条件を満たしたときだけログを出すクラスです。
Inheritance
System.Object
ConditionalLogger
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.Util
Assembly: cs.temp.dll.dll
Syntax
public class ConditionalLogger
Constructors
ConditionalLogger(Func<Boolean>)
Declaration
public ConditionalLogger(Func<bool> condition)
Parameters
Type | Name | Description |
---|---|---|
Func<System.Boolean> | condition |
Methods
Log(String)
Declaration
public void Log(string logText)
Parameters
Type | Name | Description |
---|---|---|
System.String | logText |