25 $handle = fopen(
'php://memory',
'a+');
32 $this->assertEquals(
'testtest2test3', fread($handle, 100));
40 $handle = fopen(
'php://memory',
'a+');
42 $this->assertTrue(is_resource($handle));
44 $this->assertTrue(is_resource($handle));
54 $streamProp = new \ReflectionProperty(
'Monolog\Handler\StreamHandler',
'stream');
55 $streamProp->setAccessible(
true);
56 $handle = $streamProp->getValue(
$handler);
58 $this->assertTrue(is_resource($handle));
60 $this->assertFalse(is_resource($handle));
78 $temp = sys_get_temp_dir() . DIRECTORY_SEPARATOR .
'monolog_locked_log';
141 $handler =
new StreamHandler(sys_get_temp_dir().
'/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000));
151 $handler =
new StreamHandler(
'file://'.sys_get_temp_dir().
'/bar/'.rand(0, 10000).DIRECTORY_SEPARATOR.rand(0, 10000));
163 if (
defined(
'PHP_WINDOWS_VERSION_BUILD')) {
164 $this->markTestSkipped(
'Permissions checks can not run on windows');
178 if (
defined(
'PHP_WINDOWS_VERSION_BUILD')) {
179 $this->markTestSkipped(
'Permissions checks can not run on windows');
testWriteNonExistingAndNotCreatablePath()
Exception /There is no existing directory at/ Monolog::__construct Monolog::write ...
testWriteMissingResource()
LogicException Monolog::__construct Monolog::write
const DEBUG
Detailed debug information.
testWriteNonExistingFileResource()
Monolog::__construct Monolog::write
testClose()
Monolog::close
testWriteNonExistingResource()
UnexpectedValueException Monolog::__construct Monolog::write
invalidArgumentProvider()
testWriteInvalidResource()
UnexpectedValueException Monolog::__construct Monolog::write
testWriteNonExistingPath()
Monolog::__construct Monolog::write
getRecord($level=Logger::WARNING, $message='test', $context=array())
testWriteCreatesTheStreamResource()
Monolog::write
testWriteLocking()
Monolog::__construct Monolog::write
testWrite()
Monolog::__construct Monolog::write
const WARNING
Exceptional occurrences that are not errors.
Create styles array
The data for the language used.
Stores to any stream resource.
testWriteNonExistingAndNotCreatableFileResource()
Exception /There is no existing directory at/ Monolog::__construct Monolog::write ...
testCloseKeepsExternalHandlersOpen()
Monolog::close
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
testWriteInvalidArgument($invalidArgument)
invalidArgumentProvider InvalidArgumentException Monolog::__construct