Class LoggerFactory
Static API for creating ILogger instances using ILoggerFactory.
public static class LoggerFactory
- Inheritance
-
LoggerFactory
- Inherited Members
Properties
Instance
The ILoggerFactory to use.
public static ILoggerFactory Instance { get; set; }
Property Value
Methods
Create(object)
public static ILogger Create(object user)
Parameters
userobjectThe object that will be using that instance.
Returns
Create(string)
public static ILogger Create(string category)
Parameters
categorystringA namespace (not necessarily a C# namespace in the project) to create tags from.
Returns
Examples
Create("Game.PlayerControls.GroundMovement")
Create(Type)
public static ILogger Create(Type userType)
Parameters
userTypeTypeThe type of the object that will be using that instance.