| 6388 | } |
| 6389 | |
| 6390 | TSReturnCode |
| 6391 | TSTextLogObjectRollingEnabledSet(TSTextLogObject the_object, int rolling_enabled) |
| 6392 | { |
| 6393 | sdk_assert(sdk_sanity_check_iocore_structure(the_object) == TS_SUCCESS); |
| 6394 | |
| 6395 | if (LogRollingEnabledIsValid(rolling_enabled)) { |
| 6396 | (reinterpret_cast<TextLogObject *>(the_object))->set_rolling_enabled(static_cast<Log::RollingEnabledValues>(rolling_enabled)); |
| 6397 | return TS_SUCCESS; |
| 6398 | } |
| 6399 | |
| 6400 | return TS_ERROR; |
| 6401 | } |
| 6402 | |
| 6403 | void |
| 6404 | TSTextLogObjectRollingIntervalSecSet(TSTextLogObject the_object, int rolling_interval_sec) |
no test coverage detected