[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Logging enabled check idea


I just had this idea for the use of aspectj, but I don't know if it is possible:

Most of you know that they can check if logging is enabled before putting the log statement in their code, however, very few do this because it clutters the code. Would it be possible to define an aspect that adds all those checks in there (with log4j and/or commons-logging)?

Just an idea if someone has some time to spare :)