Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Class: NfsLogger

Namespace: utils

Methods

Método criado para retornar appender.

public static function getConfig(): ?\LoggerAppenderPDO


public static function trace($message, $method = null, $throwable = null): void

Parameters:

  • $message
  • $method - Default: null
  • $throwable - Default: null

public static function debug($message, $method = null, $throwable = null, $params = null): void

Parameters:

  • $message
  • $method - Default: null
  • $throwable - Default: null
  • $params - Default: null

public static function info($message, $method = null, $throwable = null): void

Parameters:

  • $message
  • $method - Default: null
  • $throwable - Default: null

public static function warn($message, $method = null, $throwable = null): void

Parameters:

  • $message
  • $method - Default: null
  • $throwable - Default: null

public static function error($message, $method = null, $throwable = null): void

Parameters:

  • $message
  • $method - Default: null
  • $throwable - Default: null

public static function fatal($message, $method = null, $throwable = null): void

Parameters:

  • $message
  • $method - Default: null
  • $throwable - Default: null

public static function set($key, $value): void

Parameters:

  • $key
  • $value

public static function resetConfiguration(): void


public static function getBackTrace($throwable = null): void

Parameters:

  • $throwable - Default: null

public static function infoNfs($log, $method = '', $parametros = null, $transacao = '', $throwable = null): void

Parameters:

  • $log
  • $method - Default: ''
  • $parametros - Default: null
  • $transacao - Default: ''
  • $throwable - Default: null