Skip to main content

InMemoryLogFactory

Note: InMemoryLog keeps all logs in memory, so don't use it long running exceptions

Returns a thread-safe InMemoryLog which you can use while TESTING to provide a detailed analysis of your logs.

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class InMemoryLogFactory : ILogFactory

Methods

GetLogger(Type)

View Source
Declaration
public ILog GetLogger(Type type)
Returns

ServiceStack.Logging.ILog

Parameters
TypeName
System.Typetype

GetLogger(String)

View Source
Declaration
public ILog GetLogger(string typeName)
Returns

ServiceStack.Logging.ILog

Parameters
TypeName
System.StringtypeName

Implements