Relax logging

This commit is contained in:
Arkadiusz Fal
2022-12-20 21:41:27 +01:00
parent f058b0c30c
commit 41ac15b204
4 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ struct ChannelsCacheModel: CacheModel {
func store(_ channel: Channel) {
guard channel.hasExtendedDetails else {
logger.warning("not caching \(channel.cacheKey)")
logger.debug("not caching \(channel.cacheKey)")
return
}
@@ -35,7 +35,7 @@ struct ChannelsCacheModel: CacheModel {
}
func retrieve(_ cacheKey: String) -> Channel? {
logger.info("retrieving cache for \(cacheKey)")
logger.debug("retrieving cache for \(cacheKey)")
if let json = try? storage?.object(forKey: cacheKey) {
return Channel.from(json)