Gamebase SDK for Unity 2.74.0 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ Report()

static void Report | ( | GamebaseLoggerConst::LogLevel | logLevel,
|  | string | message,
|  | string | logString,
|  | string | stackTrace
| ) |  |
| static

Exceptions from a try/catch sentence, as well as general/crash logs, can be sent by using Report API.

Since
  Added 2.57.0.

Parameters

  logLevel | logLevel
  message | Message to send to the log
  logString | logString
  stackTrace | stackTrace

Example Usage :

public void ReportSample(Exception e)
{
Gamebase.Logger.Report(GamebaseLoggerConst.LogLevel.ERROR, "message", e.Message, e.StackTrace);
}
Toast.Gamebase.Gamebase.Logger.Report
static void Report(GamebaseLoggerConst.LogLevel logLevel, string message, string logString, string stackTrace)
Exceptions from a try/catch sentence, as well as general/crash logs, can be sent by using Report API.
Definition: Gamebase.cs:3401
Toast.Gamebase.Gamebase.Logger
Send a log to Log & Crash Server.
Definition: Gamebase.cs:3228
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition: Gamebase.cs:11