cyanskies / hades

A 2d game framework
1 stars 0 forks source link

Logging stream #127

Open cyanskies opened 2 years ago

cyanskies commented 2 years ago

rather than rebinding sf::Err inside functions and then restoring it before return; create a logging stream and bind it to sf::Err at the start of the program. then it'll capture everything properly

cyanskies commented 1 year ago

Messages in this stream are seperated by std::endl so we can use that to find the end of the message.