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. |
Get |
Gets the records that are held by the collector. |
Product | Versions |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: