-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or request thereforNew feature or request thereforunder considerationDev has not yet decided whether or how to implementDev has not yet decided whether or how to implement
Description
(Including %{*}t subdirectives)
- Provide functions like
register_plain_directive(directive, name, pattern, converter) - Add a
DirectiveRegistryclass with methods for registering new directives so that we aren't modifying the global state?- Make the LogParser constructor "private" and have instances instead be constructed through a method of DirectiveRegistry, with a global function version provided that uses a private registry of default values only?
- Alternatively, give the LogParser constructor a
registry=Noneargument that defaults to the private default registry?
- Alternatively, give the LogParser constructor a
- Give the
DirectiveRegistryclassparse()andparse_lines()methods, with the global functions operating on a private registry of default values only
- Make the LogParser constructor "private" and have instances instead be constructed through a method of DirectiveRegistry, with a global function version provided that uses a private registry of default values only?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request thereforNew feature or request thereforunder considerationDev has not yet decided whether or how to implementDev has not yet decided whether or how to implement