> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# VICore

Entry point to the SDK.

@objc final class VICore

## Properties

### delegateQueue

@objc static var delegateQueue: DispatchQueue

All delegate methods are to be called on this queue.

The queue should be serial (the main queue is applicable). Voximplant serial queue is set by default. It is recommended to specify this queue before you start working with the SDK and not to change it after. Changing the queue while calling API methods may result in unexpected behavior.

## Methods

### configureFileLogger(\_:)

@objc static func configureFileLogger(\_ configuration: [VIFileLoggerConfiguration](/api-reference/iossdk/core/vifileloggerconfiguration)) -> Bool

Configures the SDK file logger.

**Parameters**

**configuration** [VIFileLoggerConfiguration](/api-reference/iossdk/core/vifileloggerconfiguration)

File logger configuration. Any changes to the [VIFileLoggerConfiguration](/api-reference/iossdk/core/vifileloggerconfiguration) object after calling this method have no effect.

**Return Value**

`true` if the file logger is configured successfully; otherwise, `false`.

If the file logger is not configured, the SDK does not write logs to a file.

> **Note**
>
> This method is provided for Objective-C compatibility and returns a boolean status without detailed error context. For the Swift code, prefer using [tryConfigureFileLogger(\_:)](/api-reference/iossdk/core/vicore#symbol-e5d996352a1b15b9), which throws errors with detailed information.

### configureLogger(logDelegate:logLevel:withTimestamps:)

@objc static func configureLogger(\
    logDelegate: [VILogDelegate](/api-reference/iossdk/core/vilogdelegate)? = nil,\
    logLevel: [VILogLevel](/api-reference/iossdk/core/viloglevel),\
    withTimestamps: Bool = true\
)

Configures the SDK logger.

**Parameters**

**logDelegate** [VILogDelegate](/api-reference/iossdk/core/vilogdelegate)?

Logging delegate. If nil, the configuration applies only for Xcode output logs. The default value is nil.

**logLevel** [VILogLevel](/api-reference/iossdk/core/viloglevel)

Log level

**withTimestamps** Bool

Whether a log message should include the timestamp. Timestamp includes date and time with microseconds in a device’s time zone. The default value is true.

If the SDK logger is not configured or the API is called after [VIClient](/api-reference/iossdk/core/viclient) is initialized, [VILogLevel.info](/api-reference/iossdk/core/viloglevel#symbol-c0039ad98550f5e6) is used for Xcode output.

### tryConfigureFileLogger(\_:)

static func tryConfigureFileLogger(\
    \_ configuration: [VIFileLoggerConfiguration](/api-reference/iossdk/core/vifileloggerconfiguration)\
) throws([VIFileLoggerError](/api-reference/iossdk/core/vifileloggererror))

Configures the SDK file logger.

**Parameters**

**configuration** [VIFileLoggerConfiguration](/api-reference/iossdk/core/vifileloggerconfiguration)

File logger configuration. Any changes to the [VIFileLoggerConfiguration](/api-reference/iossdk/core/vifileloggerconfiguration) object after calling this method have no effect.

If the file logger is not configured, the SDK does not write logs to a file.

**Throws**

[VIFileLoggerError](/api-reference/iossdk/core/vifileloggererror) if file logger configuration fails.

## Relationships

**Inherits From:** NSObject

**Conforms To:** ObjectiveC.NSObjectProtocol, Swift.CVarArg, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable