| 35 | }; |
| 36 | |
| 37 | void SetCustomLoggingFunction( |
| 38 | TCustomLoggingFunction normalPriorityFunc, |
| 39 | TCustomLoggingFunction errorPriorityFunc, |
| 40 | TCustomLoggingObject normalPriorityObj, |
| 41 | TCustomLoggingObject errorPriorityObj) |
| 42 | { |
| 43 | TCatBoostLogSettings::GetRef().Log.ResetBackend( |
| 44 | MakeHolder<TCustomFuncLogger>(normalPriorityFunc, normalPriorityObj), |
| 45 | MakeHolder<TCustomFuncLogger>(errorPriorityFunc, errorPriorityObj)); |
| 46 | } |
| 47 | |
| 48 | void RestoreOriginalLogger() { |
| 49 | TCatBoostLogSettings::GetRef().Log.RestoreDefaultBackend(); |
nothing calls this directly
no test coverage detected