Skip to content

Commit a3c64cb

Browse files
Barnabás Domozibarnabasdomozi
authored andcommitted
[PythonService] Debug message spacing
1 parent 05941f3 commit a3c64cb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

plugins/python/service/src/pythonservice.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void PythonServiceHandler::getFileTypes(
2222
std::vector<std::string>& return_)
2323
{
2424
#ifndef NDEBUG
25-
LOG(info) << "[PYTHONSERVICE]" << __func__;
25+
LOG(info) << "[PYTHONSERVICE] " << __func__;
2626
#endif
2727
return_.push_back("PY");
2828
return_.push_back("Dir");
@@ -34,7 +34,7 @@ void PythonServiceHandler::getAstNodeInfo(
3434
const core::AstNodeId& astNodeId_)
3535
{
3636
#ifndef NDEBUG
37-
LOG(info) << "[PYTHONSERVICE]" << __func__;
37+
LOG(info) << "[PYTHONSERVICE] " << __func__;
3838
#endif
3939
model::PYName pyname = PythonServiceHandler::queryNodeByID(astNodeId_);
4040

@@ -47,7 +47,7 @@ void PythonServiceHandler::getAstNodeInfoByPosition(
4747
const core::FilePosition& fpos_)
4848
{
4949
#ifndef NDEBUG
50-
LOG(info) << "[PYTHONSERVICE]" << __func__;
50+
LOG(info) << "[PYTHONSERVICE] " << __func__;
5151
#endif
5252
model::PYName node = PythonServiceHandler::queryNodeByPosition(fpos_);
5353
PythonServiceHandler::setInfoProperties(return_, node);
@@ -59,7 +59,7 @@ void PythonServiceHandler::getSourceText(
5959
const core::AstNodeId& astNodeId_)
6060
{
6161
#ifndef NDEBUG
62-
LOG(info) << "[PYTHONSERVICE]" << __func__;
62+
LOG(info) << "[PYTHONSERVICE] " << __func__;
6363
#endif
6464
model::PYName pyname = PythonServiceHandler::queryNodeByID(astNodeId_);
6565

@@ -83,7 +83,7 @@ void PythonServiceHandler::getProperties(
8383
std::map<std::string, std::string>& return_,
8484
const core::AstNodeId& astNodeId_)
8585
{
86-
LOG(info) << "[PYTHONSERVICE]" << __func__;
86+
LOG(info) << "[PYTHONSERVICE] " << __func__;
8787
model::PYName pyname = PythonServiceHandler::queryNodeByID(astNodeId_);
8888

8989
if(!pyname.full_name.empty())
@@ -114,7 +114,7 @@ void PythonServiceHandler::getDiagramTypes(
114114
const core::AstNodeId& astNodeId_)
115115
{
116116
#ifndef NDEBUG
117-
LOG(info) << "[PYTHONSERVICE]" << __func__;
117+
LOG(info) << "[PYTHONSERVICE] " << __func__;
118118
#endif
119119
const model::PYName pyname = PythonServiceHandler::queryNodeByID(astNodeId_);
120120

@@ -148,7 +148,7 @@ void PythonServiceHandler::getDiagram(
148148
const std::int32_t diagramId_)
149149
{
150150
#ifndef NDEBUG
151-
LOG(info) << "[PYTHONSERVICE]" << __func__;
151+
LOG(info) << "[PYTHONSERVICE] " << __func__;
152152
#endif
153153
PythonDiagram diagram(_db, _datadir, _context);
154154

@@ -185,7 +185,7 @@ void PythonServiceHandler::getDiagramLegend(
185185
const std::int32_t diagramId_)
186186
{
187187
#ifndef NDEBUG
188-
LOG(info) << "[PYTHONSERVICE]" << __func__;
188+
LOG(info) << "[PYTHONSERVICE] " << __func__;
189189
#endif
190190
PythonDiagram diagram(_db, _datadir, _context);
191191

@@ -214,7 +214,7 @@ void PythonServiceHandler::getFileDiagramTypes(
214214
const core::FileId& fileId_)
215215
{
216216
#ifndef NDEBUG
217-
LOG(info) << "[PYTHONSERVICE]" << __func__;
217+
LOG(info) << "[PYTHONSERVICE] " << __func__;
218218
#endif
219219
return_.emplace("Module dependency", MODULE_DEPENDENCY);
220220
return;
@@ -226,7 +226,7 @@ void PythonServiceHandler::getFileDiagram(
226226
const int32_t diagramId_)
227227
{
228228
#ifndef NDEBUG
229-
LOG(info) << "[PYTHONSERVICE]" << __func__;
229+
LOG(info) << "[PYTHONSERVICE] " << __func__;
230230
#endif
231231
PythonDiagram diagram(_db, _datadir, _context);
232232

@@ -252,7 +252,7 @@ void PythonServiceHandler::getFileDiagramLegend(
252252
const std::int32_t diagramId_)
253253
{
254254
#ifndef NDEBUG
255-
LOG(info) << "[PYTHONSERVICE]" << __func__;
255+
LOG(info) << "[PYTHONSERVICE] " << __func__;
256256
#endif
257257
PythonDiagram diagram(_db, _datadir, _context);
258258

@@ -278,7 +278,7 @@ void PythonServiceHandler::getReferenceTypes(
278278
const core::AstNodeId& astNodeId)
279279
{
280280
#ifndef NDEBUG
281-
LOG(info) << "[PYTHONSERVICE]" << __func__;
281+
LOG(info) << "[PYTHONSERVICE] " << __func__;
282282
#endif
283283
return_.emplace("Definition", DEFINITION);
284284
return_.emplace("Usage", USAGE);
@@ -318,7 +318,7 @@ void PythonServiceHandler::getReferences(
318318
const std::vector<std::string>& tags_)
319319
{
320320
#ifndef NDEBUG
321-
LOG(info) << "[PYTHONSERVICE]" << __func__;
321+
LOG(info) << "[PYTHONSERVICE] " << __func__;
322322
LOG(info) << "astNodeID: " << astNodeId_;
323323
#endif
324324
std::vector<model::PYName> nodes = PythonServiceHandler::queryReferences(astNodeId_, referenceId_);
@@ -338,7 +338,7 @@ std::int32_t PythonServiceHandler::getReferenceCount(
338338
const std::int32_t referenceId_)
339339
{
340340
#ifndef NDEBUG
341-
LOG(info) << "[PYTHONSERVICE]" << __func__;
341+
LOG(info) << "[PYTHONSERVICE] " << __func__;
342342
LOG(info) << "astNodeID: " << astNodeId_;
343343
#endif
344344

0 commit comments

Comments
 (0)