Thanks for your reply.
No. Actually I meant to say creating static category manually and using it while populating logentry object
So e.g. if we already have created a category called "UI Events", I should be able to use it
Also I am curious if this is the correct approach to group events e.g. for each tier - ui, middle and db of an application?