getUserLogger(String, User) method

Returns an instance of UserLogger that uses the named Logger instance to log messages to the Agentry server for the given user.

Syntax

public static UserLogger getUserLogger ( String name , User user )

Parameters

Returns

A new UserLogger object, or null if Logger.getLogger(String) would have returned null for the same logger name.