Skip to content

Commit 5c86fb6

Browse files
committed
Change logger default value
1 parent c445884 commit 5c86fb6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ $javaClass = new JavaClass(
280280
| validation.method.arguments_count_only | boolean | false | If this mode `true` then ClassResolver validate arguments size only. | JavaClass |
281281
| operations.enable_trace | boolean | true | Store operations history into memory if this is enabled. | JavaClass |
282282
| operations.temporary_code_stream | string | php://memory | TBD | JavaClass |
283-
| log.level | int | 0 | TBD | Both |
283+
| log.level | int | Logger::EMERGENCY | TBD | Both |
284284
| log.path | string | php://stdout | TBD | Both |
285285
| dry_run.attribute | boolean | false | TBD | JavaClass |
286286

src/Core/JVM/Parameters/Runtime.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22
namespace PHPJava\Core\JVM\Parameters;
33

4+
use Monolog\Logger;
5+
46
final class Runtime
57
{
68
const ENTRYPOINT = null;
@@ -16,6 +18,6 @@ final class Runtime
1618
const VALIDATION_METHOD_ARGUMENTS_COUNT_ONLY = false;
1719

1820
const LOG_PATH = 'php://stdout';
19-
const LOG_LEVEL = 0;
21+
const LOG_LEVEL = Logger::EMERGENCY;
2022

2123
}

0 commit comments

Comments
 (0)