Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Logging

fan-t-kinami edited this page Mar 25, 2022 · 2 revisions

Logging

You can control log output on nend by using the NendAdLogger class.

Log Level settings are below:

Level Details
Debug Output Debug info to Log
Info Output info to Log Output about succeed process, result, etc.
Warn Output warning to Log Invalid parameter, etc.
Error Output error to log Output about failed process, result, etc.
None You can't output to log Default

Sample code: Export warning log and error log only.

using NendUnityPlugin.Common;
...

NendAdLogger.LogLevel = NendAdLogger.NendAdLogLevel.Warn;
Clone this wiki locally