Contextlog implementation