log: hide function and line when in ncurses mode

For now this takes too much space!