static logger using reflection