HaxeFoundation / HaxeFoundation/haxe
inconvience with rebounding trace()
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
it seems like Log:trace() does two things at once - process 'infos' parameter and output trace message,
https://github.com/HaxeFoundation/haxe/blob/development/std/haxe/Log.hx
in real scenarios rebounding trace ends with relatively ugly solution - you have to reimplement all logic just to point trace into other place
probably will be better to have additional function, some like Log.outputTrace just for simple string-only output , so rebounding trace won't look ugly
see bottom of https://github.com/oprudkyi/thrift/blob/d130c35f9d0be9ae3b919205d0698492243fb51c/lib/haxe/README.md
this issue based on conversation at the https://github.com/apache/thrift/pull/1013
Contributor guide
Assessment
This issue has not been assessed yet.