A module for Garry's Mod that adds hooks for obtaining errors that happen on the client and server (if activated on server, it also pushes errors from clients).
Mac was not tested at all (sorry but I'm poor).
If stuff starts erroring or fails to work, be sure to check the correct line endings (\n and such) are present in the files for each OS.
This project requires garrysmod_common, a framework to facilitate the creation of compilations files (Visual Studio, make, XCode, etc). Simply set the environment variable 'GARRYSMOD_COMMON' or the premake option 'gmcommon' to the path of your local copy of garrysmod_common. We also use SourceSDK2013, so set the environment variable 'SOURCE_SDK' or the premake option 'sourcesdk' to the path of your local copy of SourceSDK2013.