Closed aaronklaassen closed 7 years ago
You know about my custom "dbug" method right? You should be able to put a call to this logger in that function and instantly have everything logging. Also where would i get access to loggly?
@mrmwiebe Yeah this is already magic, actually - that Application.logMessageReceived += HandleLog
line adds the handler to the logMessageReceived
event, so that all calls to Debug.Log
also send the message to Loggly (in addition to default behavior). I sent you an account invite.
And yeah I've been meaning to go through and route all those calls to dbug
but haven't yet. A different PR. This one will work either way.
Oh it's a delegate! Nice. Probably could make dbug nicer using that eventually.
I'm trying out loggly.com, since they've got a Unity example.
Rather than just writing debug messages to disk, also send them to this service so I can look at them without having to go down to where the machine lives.