Webylon 3.2 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • 1c
    • exchange
      • catalog
  • auth
  • Booking
  • building
    • company
  • cart
    • shipping
    • steppedcheckout
  • Catalog
    • monument
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • BuildTask
  • CliDebugView
  • ConvertFrom26Task
  • Debug
  • DebugView
  • DeleteUnusedCustomerFilesTask
  • DevelopmentAdmin
  • FillLinkTrackingTask
  • FillOldLogDataTask
  • FindBadLinksTask
  • ImportTestContentTask
  • MigrationTask
  • MySQLDatabaseConfigurationHelper
  • PhotoGalleryMigrationTask
  • SapphireREPL
  • SS_Backtrace
  • SS_Cli
  • SS_Log
  • SS_LogEmailWriter
  • SS_LogErrorEmailFormatter
  • SS_LogErrorFileFormatter
  • SS_LogFileWriter
  • SS_ZendLog
  • TaskRunner

Class SS_LogFileWriter

Sends an error message to an email whenever an error occurs in sapphire.

Note: You need to make sure your web server is able to write to the file path that you specify to write logs to.

Zend_Log_Writer_Abstract
Extended by SS_LogFileWriter
Package: sapphire\dev
See: SS_Log for more information on using writers.
Uses: error_log() built-in PHP function.
Located at sapphire/dev/LogFileWriter.php

Methods summary

public
# __construct( mixed $path, mixed $messageType = 3, mixed $extraHeaders = '' )
public
# _write( mixed $event )

Write the log message to the file path set in this writer.

Write the log message to the file path set in this writer.

Magic methods summary

Properties summary

protected string $path
#

The path to the file that errors will be stored in. For example, "/var/logs/silverstripe/errors.log".

The path to the file that errors will be stored in. For example, "/var/logs/silverstripe/errors.log".

protected integer $messageType
#

Message type to pass to error_log()

Message type to pass to error_log()

See

http://us3.php.net/manual/en/function.error-log.php
protected string $extraHeaders
#

Extra headers to pass to error_log()

Extra headers to pass to error_log()

See

http://us3.php.net/manual/en/function.error-log.php
[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.2 API Docs API documentation generated by ApiGen 2.8.0