mirror of
https://github.com/WinDurango/WinDurango.git
synced 2026-02-13 22:29:23 -06:00
Refactor logging and update function naming conventions
This commit standardizes the logging mechanism by replacing calls to `Logger::NotImplemented()` with the new `LOG_NOTIMPLEMENTED()` macro across multiple files in the Microsoft Xbox Services and Kinect libraries. Function names in the debug logging macros have been updated to reflect the new naming conventions, changing `ExtractProjectName` to `RetrieveProjectName` and `ExtractFunctionName` to `RetrieveFunctionName`. Additionally, the `Logger` class has been enhanced to include structured logging capabilities with various log levels and context information for better traceability. New properties and methods have been introduced in several classes, while many implementations still remain to be completed. Overall, these changes improve maintainability and consistency in the logging framework across the Xbox development environment.
This commit is contained in:
@@ -7,30 +7,30 @@ namespace winrt::Windows::Kinect::implementation
|
||||
{
|
||||
void BodyIndexFrame::Close()
|
||||
{
|
||||
Logger::NotImplemented(); throw hresult_not_implemented();
|
||||
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
||||
}
|
||||
void BodyIndexFrame::CopyFrameDataToArray(array_view<uint8_t> frameData)
|
||||
{
|
||||
Logger::NotImplemented(); throw hresult_not_implemented();
|
||||
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
||||
}
|
||||
void BodyIndexFrame::CopyFrameDataToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer)
|
||||
{
|
||||
Logger::NotImplemented(); throw hresult_not_implemented();
|
||||
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
||||
}
|
||||
winrt::Windows::Storage::Streams::IBuffer BodyIndexFrame::LockImageBuffer()
|
||||
{
|
||||
Logger::NotImplemented(); throw hresult_not_implemented();
|
||||
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
||||
}
|
||||
winrt::Windows::Kinect::FrameDescription BodyIndexFrame::FrameDescription()
|
||||
{
|
||||
Logger::NotImplemented(); throw hresult_not_implemented();
|
||||
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
||||
}
|
||||
winrt::Windows::Foundation::TimeSpan BodyIndexFrame::RelativeTime()
|
||||
{
|
||||
Logger::NotImplemented(); throw hresult_not_implemented();
|
||||
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
||||
}
|
||||
winrt::Windows::Kinect::BodyIndexFrameSource BodyIndexFrame::BodyIndexFrameSource()
|
||||
{
|
||||
Logger::NotImplemented(); throw hresult_not_implemented();
|
||||
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user