ConsoleLogFactory
Creates a Console Logger, that logs all messages to: System.Console
Made public so its testable
Assembly: ServiceStack.Common.dll
View Source
Declaration
public class ConsoleLogFactory : 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 |
Configure(Boolean)
View Source
Declaration
public static void Configure(bool debugEnabled = true)
Parameters
Type | Name |
---|---|
System.Boolean | debugEnabled |