FakeLogCollector Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Collects log records sent to the fake logger.
public ref class FakeLogCollector
public class FakeLogCollector
type FakeLogCollector = class
Public Class FakeLogCollector
- Inheritance
-
FakeLogCollector
Fake |
Initializes a new instance of the FakeLogCollector class. |
Fake |
Initializes a new instance of the FakeLogCollector class. |
Count |
Gets the number of log records captured by this collector. |
Latest |
Gets the latest record that was created. |
Clear() |
Removes all accumulated log records from the collector. |
Create(Fake |
Creates a new instance of the FakeLogCollector class. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the records that are held by the collector. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Produk | Versi |
---|---|
.NET | 6 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
Umpan balik .NET
.NET adalah proyek sumber terbuka. Pilih tautan untuk memberikan umpan balik: