Skip to content
Discussion options

You must be logged in to vote

This would be neat... if you also add a way to explicitly set the level of indentation. Without that, it would not be particularly useful for my usecase: I've got multiple Console objects inside logging handlers and the indentation is tracked as a module-level global that affects all of the formatters/handlers. In other words, the object that uses the Console object is not involved in keeping track of the indentation and, instead, gets it from a module-level global.

All that said, I have a fairly straightforward workaround for this -- following what you said about "manually inserting spaces" -- so I don't think this needs to be a first-class concept, but that's obviously your call. :)

@da…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pradyunsg
Comment options

Answer selected by pradyunsg
@willmcgugan
Comment options

@pradyunsg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants