Configuration du niveau de journalisation
Lorsque vous déboguez votre application, vous pouvez définir le niveau de journalisation du Client SDK, ce qui modifiera la quantité d'informations que le Client SDK imprime sur la console. Vous pouvez spécifier votre niveau de journalisation :
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