2067. Class

2067.1. Zend\Log\Writer\Db

2067.1.1. Methods

2067.1.1.1. __construct

__construct()

Constructor

We used the Adapter instead of ZendDb for a performance reason.

Parameters:
  • Adapter|array|Traversable
  • string
  • array
  • string
Throws ExceptionInvalidArgumentException:
 

2067.1.1.2. shutdown

shutdown()

Remove reference to database adapter

Return type:void

2067.1.1.3. doWrite

doWrite()

Write a message to the log.

Parameters:array – event data
Return type:void
Throws :ExceptionRuntimeException

2067.1.1.4. prepareInsert

prepareInsert()

Prepare the INSERT SQL statement

Parameters:
  • Adapter
  • string
  • array
Return type:

string

2067.1.1.5. mapEventIntoColumn

mapEventIntoColumn()

Map event into column using the $columnMap array

Parameters:
  • array
  • array
Return type:

array

2067.1.1.6. eventIntoColumn

eventIntoColumn()

Transform event into column for the db table

Parameters:array
Return type:array

Project Versions

Table Of Contents

Previous topic

2066. Class

Next topic

2068. Class

This Page