add debug log
This commit is contained in:
		
							parent
							
								
									bd162b8f7b
								
							
						
					
					
						commit
						97a3547b60
					
				@ -37,6 +37,10 @@ public class SigarLog {
 | 
				
			|||||||
        getLogger().error(msg, exc);
 | 
					        getLogger().error(msg, exc);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    static void debug(String msg, Throwable exc) {
 | 
				
			||||||
 | 
					        getLogger().debug(msg, exc);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //XXX want to make this automatic, but also dont always
 | 
					    //XXX want to make this automatic, but also dont always
 | 
				
			||||||
    //want to turn on logging, since most sigar logging will be DEBUG
 | 
					    //want to turn on logging, since most sigar logging will be DEBUG
 | 
				
			||||||
    public static void enable(Sigar sigar) {
 | 
					    public static void enable(Sigar sigar) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user