Contextlog implementation

map, filter, etc