| 146 | } |
| 147 | |
| 148 | void |
| 149 | Logger::setRollingIntervalSeconds(int seconds) |
| 150 | { |
| 151 | if (state_->initialized_) { |
| 152 | state_->rolling_interval_seconds_ = seconds; |
| 153 | TSTextLogObjectRollingIntervalSecSet(state_->text_log_obj_, seconds); |
| 154 | LOG_DEBUG("Set rolling interval for log [%s] to %d seconds", state_->filename_.c_str(), seconds); |
| 155 | } else { |
| 156 | LOG_ERROR("Not initialized!"); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | int |
| 161 | Logger::getRollingIntervalSeconds() const |
nothing calls this directly
no test coverage detected