Skip to main content

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

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

Configure(Boolean)

View Source
Declaration
public static void Configure(bool debugEnabled = true)
Parameters
TypeName
System.BooleandebugEnabled

Implements