Assembly: OpenTD.dll Use LoggerFactory to generate new Loggers. LogConfigPath is the path to a configuration file that is read when OpenTD is first started. Control where logs are written using this file.
Inheritance
object ← LoggerFactoryInherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()Fields
Initialized
Field Value
boolProperties
LogConfigPath
Property Value
stringMethods
GetLogger(string)
Get a new Logger. Hint: create a static logger for your class and name it with the class name.Parameters
name string
Returns
LoggerSee Also
LoggerGetLogger()
Get a new Logger, with a default name.Returns
LoggerSee Also
LoggerLogAndThrowException(string, Logger, Exception, bool)
Parameters
msg string
log Logger
innerEx Exception
justWarning bool