Logarithms are the "opposite" of exponentials, just as subtraction is the opposite of addition and division is the opposite of multiplication. Logs "undo" exponentials. Technically speaking, logs are the inverses of exponentials.
In practical terms, I have found it useful to think of logs in terms of The Relationship: