Compartilhar via


SpxTrace Class

  • java.lang.Object
    • com.microsoft.cognitiveservices.speech.diagnostics.logging.SpxTrace

public final class SpxTrace

Static utility class to log user messages into SDK's internal logging trace. Added in version 1.42.0

Method Summary

Modifier and Type Method and Description
static void SPX_TRACE_ERROR(String message)
static void SPX_TRACE_ERROR(String format, Object[] args, int line, String file)
static void SPX_TRACE_INFO(String message)
static void SPX_TRACE_INFO(String format, Object[] args, int line, String file)
static void SPX_TRACE_VERBOSE(String message)
static void SPX_TRACE_VERBOSE(String format, Object[] args, int line, String file)
static void SPX_TRACE_WARNING(String message)
static void SPX_TRACE_WARNING(String format, Object[] args, int line, String file)

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

SPX_TRACE_ERROR

public static void SPX_TRACE_ERROR(String message)

Parameters:

message

SPX_TRACE_ERROR

public static void SPX_TRACE_ERROR(String format, Object[] args, int line, String file)

Parameters:

format
args
line
file

SPX_TRACE_INFO

public static void SPX_TRACE_INFO(String message)

Parameters:

message

SPX_TRACE_INFO

public static void SPX_TRACE_INFO(String format, Object[] args, int line, String file)

Parameters:

format
args
line
file

SPX_TRACE_VERBOSE

public static void SPX_TRACE_VERBOSE(String message)

Parameters:

message

SPX_TRACE_VERBOSE

public static void SPX_TRACE_VERBOSE(String format, Object[] args, int line, String file)

Parameters:

format
args
line
file

SPX_TRACE_WARNING

public static void SPX_TRACE_WARNING(String message)

Parameters:

message

SPX_TRACE_WARNING

public static void SPX_TRACE_WARNING(String format, Object[] args, int line, String file)

Parameters:

format
args
line
file

Applies to