customized StackWriter
extend StackWriter