final ContextStack contextStack,
final ContextMap contextMap )
{
setupContext();
final LogEvent event = new LogEvent();
event.setCategory( category );
event.setMessage( message );
event.setThrowable( throwable );
event.setTime( time );
event.setPriority( priority );
event.setContextStack( contextStack );
event.setContextMap( contextMap );
return event;
}