include/SugarLogger/SugarLogger.php
\SugarLogger
Package: SugarCRM
Default SugarCRM Logger
- Parent(s)
- \LoggerTemplate
- Api
Properties
$filename_suffix= 'array(
//bug#50265: Added none option for previous version users
"" => "None",
"%m_%Y" => "Month_Year",
"%d_%m" => "Day_Month",
"%m_%d_%y" => "Month_Day_Year",
)'
static
used for config screen
Default value
array(
//bug#50265: Added none option for previous version users
"" => "None",
"%m_%Y" => "Month_Year",
"%d_%m" => "Day_Month",
"%m_%d_%y" => "Month_Day_Year",
)
Details- Type
- n/a
$initialized= 'false'
Let's us know if we've initialized the logger file
Default value
false
Details- Type
- n/a
Methods
_fileCanBeCreatedAndWrittenTo(
)
:
void
Checks to see if the SugarLogger file can be created and written to
getLogFileNameWithPath(
)
:
void
Used by the diagnostic tools to get SugarLogger log file information
log(
$level, $message
)
:
void
see LoggerTemplate::log()
Parameters
Name | Type | Description |
---|---|---|
$level | ||
$message |