Contextlog implementation

To allow variable names of the two characters.