Skip to main content

Namespace ServiceStack.Logging

Classes​

ConsoleLogFactory​

Creates a Console Logger, that logs all messages to: System.Console

Made public so its testable

ConsoleLogger​

Default logger is to Console.WriteLine

Made public so its testable

DebugLogFactory​

Creates a Debug Logger, that logs all messages to: System.Diagnostics.Debug

Made public so its testable

DebugLogger​

Default logger is to System.Diagnostics.Debug.WriteLine

Made public so its testable

GenericLogFactory​

GenericLogger​

Helper ILog implementation that reduces effort to extend or use without needing to impl each API

ILogWithContextExtensions​

ILogWithExceptionExtensions​

LazyLogger​

LogManager​

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

LogUtils​

NullDebugLogger​

Default logger is to System.Diagnostics.Debug.Print

Made public so its testable

NullLogFactory​

Creates a Debug Logger, that logs all messages to: System.Diagnostics.Debug

Made public so its testable

StringBuilderLog​

StringBuilderLogFactory​

StringBuilderLog writes to shared StringBuffer. Made public so its testable

TestLogFactory​

Creates a test Logger, that stores all log messages in a member list

TestLogger​

Tests logger which stores all log messages in a member list which can be examined later

Made public so its testable

Interfaces​

ILog​

Logs a message in a running application

ILogFactory​

Factory to create ILog instances

ILogTrace​

When implemented will log as TRACE otherwise as DEBUG

ILogWithContext​

ILogWithException​

Enums​

TestLogger.Levels​