Konfigurieren der Protokollierungsebene
Beim Debuggen Ihrer Anwendung können Sie die Protokollierungsstufe für das Client SDK einstellen, wodurch sich die Menge der Informationen, die das Client SDK auf der Konsole ausgibt, ändert. Sie können Ihre Protokollierungsstufe festlegen:
const client = new NexmoClient({ debug: "debug" });
// Available options are silent, debug, info, warn, or error
import com.nexmo.client.NexmoClient
import com.nexmo.utils.logger.ILogger.eLogLevel
val nexmoClient = NexmoClient.Builder()
.logLevel(eLogLevel.SENSITIVE)
.build(this)
// Available options are CRITICAL, WARNING, DEBUG, INFO, VERBOSE, SENSITIVE
import com.nexmo.client.NexmoClient;
import com.nexmo.utils.logger.ILogger.eLogLevel;
NexmoClient client = new NexmoClient.Builder()
.logLevel(eLogLevel.SENSITIVE)
.build(this);
// Available options are CRITICAL, WARNING, DEBUG, INFO, VERBOSE, SENSITIVE
NXMLogger.setLogLevel(.verbose)
// Available options are None (Default), Error, Debug, Info, Verbose
[NXMLogger setLogLevel: NXMLoggerLevelVerbose];
// Available options are None (Default), Error, Debug, Info, Verbose