broadly speaking, recording a phone call is not illegal as long as one of the parties knows it is happening, although it is doubtful that any judge would admit it as evidence in much of any context. so, the purpose of the recording was clearly political, rather than legal - it indicates that she was intending from the start to use the issue as leverage in a scandal.
further, as noted, her role as attorney general (counsel to the government) introduces a set of responsibilities that is not present in the general population. while perhaps not technically illegal, i think there's a strong argument that she should lose her license over it.
but, broadly speaking, the way she has tried to present the issue is that this is really all about consent. the hypocrisy here is pretty awful.
can we get this rank opportunist out of the news, now? i think her 15 minutes are up.
https://globalnews.ca/news/5114032/recording-phone-calls-canada-laws/?utm_source=Article&utm_medium=MostPopular&utm_campaign=2014