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