Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cLog
  • cLogWriter
  • cLogWriterFile
  • cModuleLog
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cLogWriterFile

This class contains the file writer class for the logging mechanism.

cLogWriter
Extended by cLogWriterFile
Package: Core\Log
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler
Located at classes/log/class.log.writer.file.php
Methods summary
public
# __construct( array $options = array() )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Parameters

$options
array
$options [optional] Array with options for the writer instance (optional)

Overrides

cLogWriter::__construct()
protected
# _createHandle( )

Checks destination and creates the handle for the write process.

Checks destination and creates the handle for the write process.

Throws

cException
if not destination is specified
cFileNotFoundException
if the destination file could not be read
public boolean
# write( string $message, integer $priority )

Writes the content to file handle.

Writes the content to file handle.

Parameters

$message
string
$message Message to write
$priority
integer
$priority Priority of the log entry

Returns

boolean
State of the write process
Methods inherited from cLogWriter
factory(), getOption(), getOptions(), removeOption(), setOption(), setOptions()
Properties summary
protected resource $_handle NULL
#

Destination handle.

Destination handle.

Properties inherited from cLogWriter
$_options
CMS CONTENIDO 4.9.11 API documentation generated by ApiGen 2.8.0