@@ -130,47 +130,47 @@ namespace shellanything
130130 // ------------------------------------------------------------------------------------------------------------------------------------------------------------
131131 // ------------------------------------------------------------------------------------------------------------------------------------------------------------
132132
133- ScopeLogger::ScopeLogger (const ScopeLogger::INFO* info_ ) :
134- info (info_ )
133+ ScopeLogger::ScopeLogger (const ScopeLogger::ARGS* args_ ) :
134+ args (args_ )
135135 {
136136 // Prepare output text
137137 std::string text;
138- text += info ->name ;
139- if (info ->instance != NULL )
138+ text += args ->name ;
139+ if (args ->instance != NULL )
140140 {
141141 text += " ,this=" ;
142- text += ToHexString (info ->instance );
142+ text += ToHexString (args ->instance );
143143 }
144144
145- if (info ->filename != NULL )
145+ if (args ->filename != NULL )
146146 {
147- ::shellanything::LoggerHelper (info ->filename, info ->line, info ->level, info ->verbose) << text;
147+ ::shellanything::LoggerHelper (args ->filename, args ->line, args ->level, args ->verbose) << text;
148148 }
149149 else
150150 {
151- ::shellanything::LoggerHelper (info ->level, info ->verbose) << text;
151+ ::shellanything::LoggerHelper (args ->level, args ->verbose) << text;
152152 }
153153 }
154154
155155 ScopeLogger::~ScopeLogger ()
156156 {
157157 // Prepare output text
158158 std::string text;
159- text += info ->name ;
160- if (info ->instance != NULL )
159+ text += args ->name ;
160+ if (args ->instance != NULL )
161161 {
162162 text += " ,this=" ;
163- text += ToHexString (info ->instance );
163+ text += ToHexString (args ->instance );
164164 }
165165 text += " - returns" ;
166166
167- if (info ->filename != NULL )
167+ if (args ->filename != NULL )
168168 {
169- ::shellanything::LoggerHelper (info ->filename, info ->line, info ->level, info ->verbose) << text;
169+ ::shellanything::LoggerHelper (args ->filename, args ->line, args ->level, args ->verbose) << text;
170170 }
171171 else
172172 {
173- ::shellanything::LoggerHelper (info ->level, info ->verbose) << text;
173+ ::shellanything::LoggerHelper (args ->level, args ->verbose) << text;
174174 }
175175 }
176176
0 commit comments