Overview

Namespaces

  • Genetsis
    • core
      • activityid
      • user
  • None

Classes

  • AccessToken
  • ClientToken
  • Encryption
  • FileCache
  • LogConfig
  • LoginStatus
  • LoginStatusType
  • OAuth
  • OAuthConfig
  • OauthTemplate
  • RefreshToken
  • Request
  • StoredToken
  • Things
  • User

Interfaces

  • iTokenTypes

Exceptions

  • InvalidGrantException
  • Overview
  • Namespace
  • Class

Class LogConfig

This class stores the configuration for objects for logging.

Genetsis\core\LogConfig implements LoggerConfigurator
Namespace: Genetsis\core
Package: Genetsis
Category: Bean
Version: 2.0
Located at core/LogConfig.php
Methods summary
public
# __construct( string $levelInfo, string $logPath )

Parameters

$levelInfo

threshold for defining which messages should be stored.

$logPath
path to folder where logs will be saved.

Throws

Exception
If there is an error in the process.
public
# configure( LoggerHierarchy $hierarchy, mixed $input = null )

Initialize objects for logging. We have two logs files: - gid-last-request.log: to see logger for the last request - gid-all-requests.log: to see all logger for all request

Initialize objects for logging. We have two logs files: - gid-last-request.log: to see logger for the last request - gid-all-requests.log: to see all logger for all request

Parameters

$hierarchy
to handle objects for logging.
$input

path to the config file or the configuration as an array.

Implementation of

LoggerConfigurator::configure()
Properties summary
protected string $threshold

The threshold for defining which messages should be stored.

The threshold for defining which messages should be stored.

# 'OFF'
protected string $log_path

Full path to folder where logs will be saved.

Full path to folder where logs will be saved.

# ''
API documentation generated by ApiGen