Menu

## ActionScheduler_Logger
in package

ActionScheduler_Logger.php : 7

Class ActionScheduler_Logger

##### Tags

codeCoverageIgnore

### Table of Contents

$logger : mixed
get_entry() : ActionScheduler_LogEntry
get_logs() : array<string|int, ActionScheduler_LogEntry>
init() : mixed
instance() : ActionScheduler_Logger
log() : string
log_canceled_action() : mixed
log_completed_action() : mixed
log_failed_action() : mixed
log_failed_fetch_action() : mixed
log_ignored_action() : mixed
log_reset_action() : mixed
log_started_action() : mixed
log_stored_action() : mixed
log_timed_out_action() : mixed
log_unexpected_shutdown() : mixed

### Properties

#### $logger

ActionScheduler_Logger.php : 8
`private static mixed $logger = NULL`

### Methods

#### get_entry()

ActionScheduler_Logger.php : 35
`public abstract get_entry(string $entry_id) : ActionScheduler_LogEntry`

##### Parameters

$entry_id : string

##### Return values

ActionScheduler_LogEntry —

#### get_logs()

ActionScheduler_Logger.php : 42
`public abstract get_logs(string $action_id) : array<string|int, ActionScheduler_LogEntry>`

##### Parameters

$action_id : string

##### Return values

array<string|int, ActionScheduler_LogEntry> —

#### init()

ActionScheduler_Logger.php : 48
`public init() : mixed`

##### Tags

codeCoverageIgnore

##### Return values

mixed —

#### instance()

ActionScheduler_Logger.php : 13
`public static instance() : ActionScheduler_Logger`

##### Return values

ActionScheduler_Logger —

#### log()

ActionScheduler_Logger.php : 28
`public abstract log(string $action_id, string $message[, DateTime $date = NULL ]) : string`

##### Parameters

$action_id : string
$message : string
$date : DateTime = NULL

##### Return values

string —

The log entry ID

#### log_canceled_action()

ActionScheduler_Logger.php : 65
`public log_canceled_action(mixed $action_id) : mixed`

##### Parameters

$action_id : mixed

##### Return values

mixed —

#### log_completed_action()

ActionScheduler_Logger.php : 73
`public log_completed_action(mixed $action_id) : mixed`

##### Parameters

$action_id : mixed

##### Return values

mixed —

#### log_failed_action()

ActionScheduler_Logger.php : 77
`public log_failed_action(mixed $action_id, Exception $exception) : mixed`

##### Parameters

$action_id : mixed
$exception : Exception

##### Return values

mixed —

#### log_failed_fetch_action()

ActionScheduler_Logger.php : 99
`public log_failed_fetch_action(mixed $action_id) : mixed`

##### Parameters

$action_id : mixed

##### Return values

mixed —

#### log_ignored_action()

ActionScheduler_Logger.php : 95
`public log_ignored_action(mixed $action_id) : mixed`

##### Parameters

$action_id : mixed

##### Return values

mixed —

#### log_reset_action()

ActionScheduler_Logger.php : 91
`public log_reset_action(mixed $action_id) : mixed`

##### Parameters

$action_id : mixed

##### Return values

mixed —

#### log_started_action()

ActionScheduler_Logger.php : 69
`public log_started_action(mixed $action_id) : mixed`

##### Parameters

$action_id : mixed

##### Return values

mixed —

#### log_stored_action()

ActionScheduler_Logger.php : 61
`public log_stored_action(mixed $action_id) : mixed`

##### Parameters

$action_id : mixed

##### Return values

mixed —

#### log_timed_out_action()

ActionScheduler_Logger.php : 81
`public log_timed_out_action(mixed $action_id, mixed $timeout) : mixed`

##### Parameters

$action_id : mixed
$timeout : mixed

##### Return values

mixed —

#### log_unexpected_shutdown()

ActionScheduler_Logger.php : 85
`public log_unexpected_shutdown(mixed $action_id, mixed $error) : mixed`

##### Parameters

$action_id : mixed
$error : mixed

##### Return values

mixed —

## Search results