class Logging (View source)

Logging functionality for webserver.

This includes web server specific code to log some information.

Methods

static string
getLogDestination(string $authLog)

Get authentication logging destination

static string
getLogMessage(string $user, string $status)

Generate log message for authentication logging

static void
logUser(Config $config, string $user, string $status = 'ok')

Logs user information to webserver logs.

Details

static string getLogDestination(string $authLog)

Get authentication logging destination

Parameters

string $authLog

Return Value

string

static string getLogMessage(string $user, string $status)

Generate log message for authentication logging

Parameters

string $user

user name

string $status

status message

Return Value

string

static void logUser(Config $config, string $user, string $status = 'ok')

Logs user information to webserver logs.

Parameters

Config $config
string $user

user name

string $status

status message

Return Value

void