mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 17:10:18 +01:00 
			
		
		
		
	Enable configurable verbose logging
This commit is contained in:
		
							parent
							
								
									609745ccc4
								
							
						
					
					
						commit
						575632d62b
					
				@ -227,6 +227,10 @@ class Console
 | 
			
		||||
 | 
			
		||||
            $message = date('Y-m-d H:i:s -- ') . $message;
 | 
			
		||||
            fwrite(self::$log, $message . PHP_EOL);
 | 
			
		||||
 | 
			
		||||
            if (self::$config->general('verbose_logging', false)) {
 | 
			
		||||
                echo $message . PHP_EOL;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user