Optionalsettings: ISettingsParam<ILogObj>OptionallogObj: ILogObjOptionalsettings: ISettingsParam<ILogObj>
Overwrite settings inherited from parent logger
OptionallogObj: ILogObj
Overwrite logObj for sub-logger
make the logger log to a file as well
Rotation needs the optional rotating-file-stream dependency. Without it (the slim runtime images install with
--omit=optional) the log is appended to a single file instead.
Returns a child logger based on the current instance with inherited settings