Skip to content

TextLogger class

Defined in

Namespace: Splat.Tests.Mocks Assembly: Splat.Common.Test.dll Full name: Splat.Tests.Mocks.TextLogger Modifiers: public

Summary

View source

A TextWriter implementation of ILogger for testing.

Applies to

net11.0, net10.0

Class hierarchy
classDiagram
class TextLogger
class ILogger {
    <>
}
ILogger <|.. TextLogger
class IMockLogTarget {
    <>
}
IMockLogTarget <|.. TextLogger

Implements: ILogger, IMockLogTarget

Constructors

NameSummary
.ctor

Properties

NameSummary
LogsGets the logs that have been sent.
LevelGets the level at which the target will emit messages.

Methods

NameSummary
WriteWrites a message to the target.
Inherited members

See also