I'm quite sure they are instantiated as intended and get .config, .log
and .env attached. Could you provide specific code that do not work as
intended?

Anyway, as for logging, the .log is also attached to env, so quite
commonly you'll also see env.log.debug('Some stuff') used in the code.


:::simon


https://www.coderesort.com


On Oct 28, 10:33 am, anatoly techtonik <[EMAIL PROTECTED]> wrote:
> Hello.
>
> Inhttp://trac.edgewall.org/wiki/TracDev/PluginDevelopmentit is said
> that when component is instantiated with Trac environment - it gets
> logger. But it seems that plugins are not instantiated in this way.
> That why there is a couple of questions.
>
> The main one - Why not to instantiate plugins with environment?
> The secondary - How to get self.log properly to direct message into
> centralized Trac logger sink?
>
> WBR,
> anatoly
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to