logging: fix prefix stripping on Windows
Summary: Windows paths can both use forward slashes as well as backslashes, and also contain colons that folly uses to separate prefixes to strip. The xlogStripFilename unfortunately didn't handle both of these cases leading to log categories to always contain the full path instead of a suffix path. Reviewed By: yfeldblum Differential Revision: D24353208 fbshipit-source-id: ff17afe4b46f36d46bf468a5e3cf9ba9ba8412b8
Showing
Please register or sign in to comment