\CoreLogger

hata logları burada elden geçer oluşturulur STNC FW Copyright (c) 2015 Author(s): Selman TUNÇ www.selmantunc.com <selmantunc@gmail.com>

Summary

Methods
Properties
Constants
customErrorMsg()
exceptionHandler()
errorHandler()
newMessage()
errorMessage()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$print_error
N/A

Properties

$print_error

$print_error : boolean

hata logları burada elden geçer

Type

boolean

Methods

customErrorMsg()

customErrorMsg() 

varsayılan hata mesajı

exceptionHandler()

exceptionHandler(\Core\exeption  $e) 

kullanıcı hatalarını yakala ve kaydet

Parameters

\Core\exeption $e

errorHandler()

errorHandler(\Core\numeric  $number, string  $message, string  $file, \Core\numeric  $line) 

hata mesajlarını tut

Parameters

\Core\numeric $number

hata no

string $message

hata

string $file

dosya

\Core\numeric $line

satır numarası

newMessage()

newMessage(\Core\Exception  $exception, boolean  $print_error = false, boolean  $clear = false, string  $error_file = 'errorlog.html') 

TODO: bu kısımları sonradan ekledim sisteme bağlı değiller henuz

Parameters

\Core\Exception $exception
boolean $print_error

show error or not

boolean $clear

clear the errorlog

string $error_file

file to save to

errorMessage()

errorMessage(string  $error, boolean  $print_error = false, string  $error_file = 'errorlog.html') 

custom error

Parameters

string $error

the error

boolean $print_error

display error

string $error_file

file to save to