logging is cluttering my "beautiful" clean simple short code. instead of a simple
def mymethod = dosomething // scala
my code is also having also all these nasty logging statements which and immediately i have to add new lines and curly braces to mymethod
.
now i don't like AOP
it would just make clear code --> unclear.
anyway to get over this? I have when simple code turns to less simple, but i also need logging. help.
how to make this code clear simple short and also with logging?