feat: support this.environment
in options
and onLog
hook
#940
Loading
this.environment
in options
and onLog
hook
#940