@@ -21,14 +21,17 @@ |
||
21 | 21 | require_once __DIR__.'/activate.php'; |
22 | 22 | } |
23 | 23 | require_once __DIR__.'/autoload.php'; |
24 | -if( GL_Plugin_Check::shouldDeactivate( __FILE__ ))return; |
|
24 | +if( GL_Plugin_Check::shouldDeactivate( __FILE__ )) { |
|
25 | + return; |
|
26 | +} |
|
25 | 27 | GeminiLabs\Logger\Application::load()->init(); |
26 | 28 | |
27 | 29 | /** |
28 | 30 | * @param mixed $message |
29 | 31 | * @return GeminiLabs\Logger\Log |
30 | 32 | */ |
31 | -function gllog( $message = null ) { |
|
33 | +function gllog( $message = null ) |
|
34 | +{ |
|
32 | 35 | $logger = GeminiLabs\Logger\Application::load()->log->logger(); |
33 | 36 | return func_num_args() > 0 |
34 | 37 | ? $logger->debug( func_get_arg(0) ) |