@@ -47,7 +47,7 @@ private set
4747 // changes to the service's response format.
4848 private const string ProdRcsUrl = "https://pagead2.googlesyndication.com/pagead/ping?e=1&f=1" ;
4949
50- private static readonly Queue < ExceptionReport > _exceptionQueue =
50+ internal static readonly Queue < ExceptionReport > _exceptionQueue =
5151 new Queue < ExceptionReport > ( ) ;
5252 private static readonly object _queueLock = new object ( ) ;
5353 private float _timeOfNextBatch ;
@@ -194,7 +194,7 @@ public void ReportTrappedException(Exception e, string name = null)
194194 /// This callback handles UNTRAPPED exceptions from *any* thread.
195195 /// It must be thread-safe and very fast.
196196 /// </summary>
197- private void OnLogMessageReceivedThreaded ( string logString , string stackTrace , LogType type )
197+ internal void OnLogMessageReceivedThreaded ( string logString , string stackTrace , LogType type )
198198 {
199199 if ( type != LogType . Exception ) return ;
200200
@@ -245,7 +245,7 @@ private string Sha256Hash(string rawData)
245245 /// <summary>
246246 /// Drains the queue and passes the resulting batch to be sent.
247247 /// </summary>
248- private void ProcessAndSendBatch ( )
248+ internal void ProcessAndSendBatch ( )
249249 {
250250 Debug . Log ( "Processing and sending a batch of exceptions..." ) ;
251251
@@ -297,7 +297,7 @@ private void ResetBatchTimer()
297297 /// <summary>
298298 /// Builds the final JSON payload (conforming to JSPB rules) and sends it to RCS.
299299 /// </summary>
300- private void SendToRcs ( List < ExceptionReport > batch )
300+ protected virtual void SendToRcs ( List < ExceptionReport > batch )
301301 {
302302 Debug . Log ( string . Format ( "Sending a batch of {0} exception(s)..." , batch . Count ) ) ;
303303
0 commit comments