EasyLog - @LogIt annotation



To start logging you just need to annotate the method that you want to log with the LogIt annotation

@LogIt
public User createUser(CreateUserRequest request) {
	...
}

You can also annotate with @LogIt the whole class, in this case all class’s methods will be logged.

@LogIt
public class UserHandler {
	
	public User createUser(CreateUserRequest request) {
		...
	}

	public User getUser(String userId) {
		...
	}

	...
}

See also LogIt annotation priorities