info = Consumer::Info.get(SomeConsumer)
output = info.to_s
puts output
# Or:
info = Consumer::Info.get(SomeConsumer)
info.dump
# Or:
info.dump(STDOUT)
# Where the signature of dump is:
dump(device=STDOUT)
The same pattern would be represented in lower parts of the stack, from host, to consumers, handlers, and maybe even messages.
Notes
Lower the precedence of the position store log output so that it doesn't print before the component dump
Make the dump on by default, but able to be deactivated via an environment variable
If the info dump is deactivated, set the log level of the component info logs to the highest level. Otherwise, log them at the info or debug level
Decision needed on what level to log the info at when the info dump is activated
The text was updated successfully, but these errors were encountered:
Gather a graph of info about a component, it's consumers, handlers, etc, into a buffer. Output the contents at component startup.
For example:
Possibly an implementation of the form:
The same pattern would be represented in lower parts of the stack, from host, to consumers, handlers, and maybe even messages.
Notes
The text was updated successfully, but these errors were encountered: