RedisLabsModules / redismodule-rs

Rust API for Redis Modules API
BSD 3-Clause "New" or "Revised" License
269 stars 64 forks source link

Revert the "LogLevel" type in the root. #341

Closed iddm closed 1 year ago

iddm commented 1 year ago

To preserve the API compatibility with older versions, it is necessary to allow to continue using the old "LogLevel" type.

This commit brings it back but not as a enum as it had been before it changed, but as a type alias to the new enum. It also marks it as deprecated with a hint.