Skip to content

Commit

Permalink
Make logging.Level local
Browse files Browse the repository at this point in the history
  • Loading branch information
sarlinpe committed Feb 5, 2024
1 parent 255bb2a commit 69d44c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pyceres/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void BindLogging(py::module& m) {
[]() { google::InstallFailureWriter(&PyBindLogStack); })
.def("install_failure_function",
[]() { google::InstallFailureFunction(&PyBindLogTermination); });
py::enum_<Logging::LogSeverity>(PyLogging, "Level")
py::enum_<Logging::LogSeverity>(PyLogging, "Level", py::module_local())
.value("INFO", Logging::LogSeverity::GLOG_INFO)
.value("WARNING", Logging::LogSeverity::GLOG_WARNING)
.value("ERROR", Logging::LogSeverity::GLOG_ERROR)
Expand Down

0 comments on commit 69d44c8

Please sign in to comment.