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
Parameters
Type | Name |
---|---|
System.Type | type |
GetLogger(String)
View Source
Declaration
public ILog GetLogger(string typeName)
Returns
Parameters
Type | Name |
---|---|
System.String | typeName |