Method |
Description |
|
__construct ( string $connectString = null ) |
Init the object and set the connection string if given |
|
alert ( string $message, array $context = [] ) : boolean |
Log alert messages |
|
critical ( string $message, array $context = [] ) : boolean |
Log critical messages |
|
debug ( string $message, array $context = [] ) : boolean |
Log debug messages |
|
emergency ( string $message, array $context = [] ) : boolean |
Log emergency messages |
|
error ( string $message, array $context = [] ) : boolean |
Log error messages |
|
getConnectString ( ) : string |
Get the current connection string |
|
getDbCollection ( ) : string |
Get the current DB collection name |
|
getDbName ( ) : string |
Get the current database name |
|
info ( string $message, array $context = [] ) : boolean |
Log info messages |
|
log ( string $level, string $message, array $context = [] ) : boolean |
Push the log message and context information into Mongo |
|
notice ( string $message, array $context = [] ) : boolean |
Log notice messages |
|
setConnectString ( string $string ) |
Set the current connection string |
|
setDbCollection ( string $collection ) |
Set the current DB collection name |
|
setDbName ( string $name ) |
Set the current database name |
|
warning ( string $message, array $context = [] ) : boolean |
Log warning messages |
|