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
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cLog
  • cLogWriter
  • cLogWriterFile
  • cModuleLog
  • Overview
  • Package
  • Class
  • Todo
  • Download

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 of the writer instance.

Constructor of the writer instance.

Parameters

$options
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
Message to write
$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

Destination handle

Destination handle

# NULL
Properties inherited from cLogWriter
$_options
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen