Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Log To File

Type: core

Class: Log

Platform: 2v

Function: logToFile

Visibility: public static

Parameter: logToFile($fileName,$data,$title)

Description:
Create's a row in a log file that can be sniffed later (don't take it to your lung). The file will be written at "logs" directory according to log parameters.
Parameters:
(required) - string - $fileName - The chosen file name, will be located at: \logs.
(required) - string|array|object - $data - The data row.
(optional) - string - $title - The title row.
Return:
- Nothing.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
example: 1
Would you like some information about what's going on on your site? You should choose the log name and put data in to it. Later, when you'll read the file, all the data you inserted will be shown as row.
How to call (example):
Code:
Possible outcome (example):
Output:
Info Panel
Roll it!   ⇔