On Jul 13, 2011, at 7:17 PM, Kuhns, John wrote:

> I would like to use the QueryLogger from within my data objects directly. Is 
> this possible? If not, I suppose I write a custom superclass and refactor. 
> Has anyone else done something like this?
> 
> Thanks,
> John

Hi there,

In Cayenne 3.0.x QueryLogger is a static public class. So surely any Java class 
can call its method. 

Just as an FYI, In 3.1 QueryLogger is replaced with a non-static 
JdbcEventLogger managed via DI container.

Andrus 

Reply via email to