Skip to content

Interface: AppiumLogger

@appium/types.AppiumLogger

Describes the npmlog-based internal logger.

See

https://npm.im/npmlog

Table of contents

Properties

Methods

Properties

level

level: AppiumLoggerLevel

Defined in

packages/types/lib/logger.ts:27


levels

levels: AppiumLoggerLevel[]

Defined in

packages/types/lib/logger.ts:28


prefix

Optional prefix: AppiumLoggerPrefix

Log prefix, if applicable.

Defined in

packages/types/lib/logger.ts:32

Methods

debug

debug(...args): void

Parameters

Name Type
...args any[]

Returns

void

Defined in

packages/types/lib/logger.ts:33


error

error(...args): void

Parameters

Name Type
...args any[]

Returns

void

Defined in

packages/types/lib/logger.ts:36


errorAndThrow

errorAndThrow(...args): never

Parameters

Name Type
...args any[]

Returns

never

Defined in

packages/types/lib/logger.ts:40


http

http(...args): void

Parameters

Name Type
...args any[]

Returns

void

Defined in

packages/types/lib/logger.ts:39


info

info(...args): void

Parameters

Name Type
...args any[]

Returns

void

Defined in

packages/types/lib/logger.ts:34


silly

silly(...args): void

Parameters

Name Type
...args any[]

Returns

void

Defined in

packages/types/lib/logger.ts:38


unwrap

unwrap(): Logger

Returns the underlying npmlog Logger.

Returns

Logger

Defined in

packages/types/lib/logger.ts:26


verbose

verbose(...args): void

Parameters

Name Type
...args any[]

Returns

void

Defined in

packages/types/lib/logger.ts:37


warn

warn(...args): void

Parameters

Name Type
...args any[]

Returns

void

Defined in

packages/types/lib/logger.ts:35