- Improve the logger test to include more specific assertions. - Add timestamp filtering to the logger search function. - Fix a bug in the logger search function that prevented it from correctly handling continuation lines. - Update redisclient tests to use the correct return type. Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
Redisclient
basic example to connect to local redis on 127.0.0.1:6379
import freeflowuniverse.herolib.core.redisclient
mut redis := redisclient.core_get()!
redis.set('test', 'some data') or { panic('set' + err.str() + '\n' + c.str()) }
r := redis.get('test')?
if r != 'some data' {
panic('get error different result.' + '\n' + c.str())
}
redis commands can be found on https://redis.io/commands/