66#include " Support/Compare.h"
77#include " Support/Ranges.h"
88#include " Feature/Hover.h"
9- #include " Support/Logger .h"
9+ #include " Support/Logging .h"
1010
1111namespace clice ::feature {
1212
@@ -99,7 +99,7 @@ static std::optional<Hover> hover(CompilationUnit& unit,
9999 const clang::TypeLoc* typeloc,
100100 const config::HoverOptions& opt) {
101101 // TODO: Hover for type
102- clice::log ::warn (" Hit a typeloc" );
102+ clice::logging ::warn (" Hit a typeloc" );
103103 return std::nullopt ;
104104}
105105
@@ -114,7 +114,7 @@ std::optional<Hover> hover(CompilationUnit& unit,
114114
115115 auto tokens_under_cursor = unit.spelled_tokens_touch (*loc);
116116 for (auto & tk: tokens_under_cursor) {
117- clice::log ::info (" Hit token '{}'" , tk.str ());
117+ clice::logging ::info (" Hit token '{}'" , tk.str ());
118118 }
119119
120120 // Find the token under cursor
@@ -133,7 +133,7 @@ std::optional<Hover> hover(CompilationUnit& unit,
133133 return hover (unit, typeloc, opt);
134134 }
135135
136- clice::log ::warn (" Not selected" );
136+ clice::logging ::warn (" Not selected" );
137137
138138 node->data .dump (llvm::errs (), unit.context ());
139139
@@ -147,7 +147,7 @@ std::optional<Hover> hover(CompilationUnit& unit,
147147 // / - NestedNameSpecifierLoc
148148 // / - Template specification
149149 } else {
150- clice::log ::warn (" Not an ast node" );
150+ clice::logging ::warn (" Not an ast node" );
151151 }
152152
153153 return std::nullopt ;
0 commit comments