Log to different adapter according to level
This commit is contained in:
		
							parent
							
								
									98eeec4cbb
								
							
						
					
					
						commit
						0970d6cc38
					
				
					 5 changed files with 104 additions and 69 deletions
				
			
		| 
						 | 
				
			
			@ -194,12 +194,14 @@
 | 
			
		|||
 | 
			
		||||
            <div class="panel-body">
 | 
			
		||||
                <dl class="dl-horizontal admin-dl-horizontal">
 | 
			
		||||
                    {{range .Loggers}}
 | 
			
		||||
                    <dt>Log Mode</dt>
 | 
			
		||||
                    <dd>{{.LogMode}}</dd>
 | 
			
		||||
                    <dd>{{.Mode}}</dd>
 | 
			
		||||
                    <dt>Log Config</dt>
 | 
			
		||||
                    <dd>
 | 
			
		||||
                        <div style="padding-top: 5px;"><pre>{{.LogConfig}}</pre></div>
 | 
			
		||||
                        <div style="padding-top: 5px;"><pre>{{.Config}}</pre></div>
 | 
			
		||||
                    </dd>
 | 
			
		||||
                    {{end}}
 | 
			
		||||
                </dl>
 | 
			
		||||
                
 | 
			
		||||
            </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue