Skip to main content

LogManager

Logging API for this library. You can inject your own implementation otherwise will use the DebugLogFactory to write to System.Diagnostics.Debug

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
public class LogManager

Properties​

LogFactory​

Gets or sets the log factory. Use this to override the factory that is used to create loggers

View Source​
Declaration
public static ILogFactory LogFactory { get; set; }

Methods​

GetLogger(Type)​

Gets the logger.

View Source​
Declaration
public static ILog GetLogger(Type type)
Returns​

ServiceStack.Logging.ILog

Parameters​
TypeName
System.Typetype

GetLogger(String)​

Gets the logger.

View Source​
Declaration
public static ILog GetLogger(string typeName)
Returns​

ServiceStack.Logging.ILog

Parameters​
TypeName
System.StringtypeName