Table of Contents

Class StreamLoggerFactory

Namespace
Homa.Sdk.Logging
Assembly
Homa.Sdk.Logging.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class StreamLoggerFactory : ILoggerFactory
Inheritance
StreamLoggerFactory
Implements
Inherited Members

Constructors

StreamLoggerFactory(IConfigHandle<LoggerConfig>)

[Obsolete("Use StreamLoggerFactory(IConfigService configService) instead.", true)]
public StreamLoggerFactory(IConfigHandle<LoggerConfig> configHandle)

Parameters

configHandle IConfigHandle<LoggerConfig>

StreamLoggerFactory(IConfigService)

[Obsolete("Use StreamLoggerFactory(IConfigHandle<LoggerConfig>, IEnumerable<ILogOutput>) instead.")]
public StreamLoggerFactory(IConfigService configService)

Parameters

configService IConfigService

StreamLoggerFactory(IConfigService, IEnumerable<ILogOutput>)

[RequiredMember]
public StreamLoggerFactory(IConfigService configService, IEnumerable<ILogOutput> outputs)

Parameters

configService IConfigService
outputs IEnumerable<ILogOutput>

Methods

Create(string)

Creates an ILogger instance.

public ILogger Create(string category)

Parameters

category string

A namespace (not necessarily a C# namespace in the project) to use as category.

Returns

ILogger

An ILogger with the given category.

Examples

Create("Game.PlayerControls.GroundMovement")

Initialize()

public void Initialize()