I like to think of logarithms this way: $\log_a(N)=y$ implies that, the a denotes the power at which you're expanding / shrinking, the N represents the size of you after y units of time has passed.
For example, if I'm expanding two fold by whatever amount I had before with me at t=0 (I assume this typically to be 1), after 1 unit of time has passed, my size is 2, then after 2 units of time has passed, my size is 4 and so on.
The point is, y gives the time you've expanded for if you feed it the other two information. But this infact has an interesting consequence, whatever base I choose (here, 10), if I make note of the final size of the initial 1 I began with as time passes, I literally form the place value system for base 10 (1, 10, 100, 1000....). And so today I learnt that if we wanted to get the number of digits in a number N (represented in base 10), we could just do so by $\lfloor{(\log_{10}(N)+1\rfloor})$. But I really cannot figure out as to why it should be as such.
Does there exist a nice explanation which can be deduced from the way I mentioned I like to think of logarithms as? If we continue this discussion, there also exists this formula to calculate the number of digits in a number when written in the binary form, which is just the change of base from 10 to 2, $\lfloor{(\log_{2}(N)+1\rfloor})$. And I would also like to know about how does logarithms have a relation to the corresponding number systems?