Class LoggerExtensions
A class providing extensions for various loggers.
Inheritance
System.Object
LoggerExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: IPA.Logging
Assembly: IPA.Loader.dll
Syntax
public static class LoggerExtensions
Methods
| Improve this Doc View SourceGetChildLogger(Logger, String)
Gets a child logger, if supported. Currently the only defined and supported logger is StandardLogger, and most plugins will only ever receive this anyway.
Declaration
public static Logger GetChildLogger(this Logger logger, string name)
Parameters
Type | Name | Description |
---|---|---|
Logger | logger | the parent Logger |
System.String | name | the name of the child |
Returns
Type | Description |
---|---|
Logger | the child logger |