Open simon-p-r opened 9 years ago
hmm, this is a tricky one. currently file output is just whatever the user passes run through util.format
from node's core util library. we would likely have to implement our own format utility to allow passing in options to do this properly. i'll look into it.
Thanks for the heads up
Is there anyway to format text that is written to file, maybe pass some options to print all on same line? Please see this example
Would print this to file
I appreciate this object is verbose but maybe limiting the depth of object would be one way of restricting any overkill. I have tried adding some lines in file module to print on one line however I can't seem to trim the whitespace left on line, adding these lines
Printed this