File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ The parser CLI logs now show the right file making the call
Original file line number Diff line number Diff line change @@ -112,25 +112,25 @@ def debug(self, *args):
112112 """
113113 Print debug message to stderr.
114114 """
115- self .console .log (* args , style = "log-debug" )
115+ self .console .log (* args , style = "log-debug" , _stack_offset = 2 )
116116
117117 def info (self , * args ):
118118 """
119119 Print info message to stderr.
120120 """
121- self .console .log (* args , style = "log-info" )
121+ self .console .log (* args , style = "log-info" , _stack_offset = 2 )
122122
123123 def warn (self , * args ):
124124 """
125125 Print warning message to stderr.
126126 """
127- self .console .log (* args , style = "log-warning" )
127+ self .console .log (* args , style = "log-warning" , _stack_offset = 2 )
128128
129129 def error (self , * args ):
130130 """
131131 Print error message to stderr.
132132 """
133- self .console .log (* args , style = "log-error" )
133+ self .console .log (* args , style = "log-error" , _stack_offset = 2 )
134134
135135 def exit (self , status = 0 , message = None ):
136136 """
You can’t perform that action at this time.
0 commit comments