@@ -32,7 +32,6 @@ |
||
32 | 32 | /** |
33 | 33 | * Register a fluent handler. |
34 | 34 | * |
35 | - * @param string $name |
|
36 | 35 | * @param string $level |
37 | 36 | * @return \Psr\Log\LoggerInterface |
38 | 37 | */ |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * FluentHandler constructor. |
38 | 38 | * |
39 | 39 | * @param LoggerInterface $logger |
40 | - * @param bool|int $level |
|
40 | + * @param integer $level |
|
41 | 41 | * @param bool|true $bubble |
42 | 42 | */ |
43 | 43 | public function __construct(LoggerInterface $logger, $tagFormat = null, $level = Logger::DEBUG, $bubble = true) |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | /** |
74 | 74 | * @param array $record |
75 | - * @param array $format |
|
75 | + * @param string $format |
|
76 | 76 | */ |
77 | 77 | protected function processFormat($record, $format) |
78 | 78 | { |
@@ -33,11 +33,11 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * for package configure |
35 | 35 | */ |
36 | - $configPath = __DIR__ . '/config/fluent.php'; |
|
36 | + $configPath = __DIR__.'/config/fluent.php'; |
|
37 | 37 | $this->mergeConfigFrom($configPath, 'fluent'); |
38 | 38 | $this->publishes([$configPath => config_path('fluent.php')], 'log'); |
39 | 39 | |
40 | - $this->app->bind('fluent.handler', function ($app) { |
|
40 | + $this->app->bind('fluent.handler', function($app) { |
|
41 | 41 | return new RegisterPushHandler( |
42 | 42 | $app['Illuminate\Contracts\Logging\Log'], |
43 | 43 | $app['config']->get('fluent') |
@@ -51,17 +51,17 @@ discard block |
||
51 | 51 | public static function compiles() |
52 | 52 | { |
53 | 53 | return [ |
54 | - base_path() . '/vendor/ytake/laravel-fluent-logger/src/LogServiceProvider.php', |
|
55 | - base_path() . '/vendor/ytake/laravel-fluent-logger/src/ConfigureLogging.php', |
|
56 | - base_path() . '/vendor/ytake/laravel-fluent-logger/src/FluentHandler.php', |
|
57 | - base_path() . '/vendor/ytake/laravel-fluent-logger/src/RegisterPushHandler.php', |
|
58 | - base_path() . '/vendor/ytake/laravel-fluent-logger/src/Writer.php', |
|
59 | - base_path() . '/vendor/fluent/logger/src/Entity.php', |
|
60 | - base_path() . '/vendor/fluent/logger/src/Exception.php', |
|
61 | - base_path() . '/vendor/fluent/logger/src/FluentLogger.php', |
|
62 | - base_path() . '/vendor/fluent/logger/src/JsonPacker.php', |
|
63 | - base_path() . '/vendor/fluent/logger/src/LoggerInterface.php', |
|
64 | - base_path() . '/vendor/fluent/logger/src/PackerInterface.php', |
|
54 | + base_path().'/vendor/ytake/laravel-fluent-logger/src/LogServiceProvider.php', |
|
55 | + base_path().'/vendor/ytake/laravel-fluent-logger/src/ConfigureLogging.php', |
|
56 | + base_path().'/vendor/ytake/laravel-fluent-logger/src/FluentHandler.php', |
|
57 | + base_path().'/vendor/ytake/laravel-fluent-logger/src/RegisterPushHandler.php', |
|
58 | + base_path().'/vendor/ytake/laravel-fluent-logger/src/Writer.php', |
|
59 | + base_path().'/vendor/fluent/logger/src/Entity.php', |
|
60 | + base_path().'/vendor/fluent/logger/src/Exception.php', |
|
61 | + base_path().'/vendor/fluent/logger/src/FluentLogger.php', |
|
62 | + base_path().'/vendor/fluent/logger/src/JsonPacker.php', |
|
63 | + base_path().'/vendor/fluent/logger/src/LoggerInterface.php', |
|
64 | + base_path().'/vendor/fluent/logger/src/PackerInterface.php', |
|
65 | 65 | ]; |
66 | 66 | } |
67 | 67 | } |