Logarithms and Line Breaking

How do you create logs and break lines in latex? I've tried using the \\ to break a line, but it doesn't work.