• Toby Allen's avatar
    httpserver: More organized startup output (#2497) · 98f160e3
    Toby Allen authored
    * Move SiteOutput to a seperate function sorted by port.
    
    * Rename vars and tidy up
    
    * Move loopback note to output loop
    
    * Fix Typo
    
    * Remove unneeded var
    
    * Readability Change
    
    * Change to other port string.
    
    * Simplify as all sites in Server use the same port
    
    * Ensure -quiet supresses fmt.Println calls
    
    * Prevent double output of siteinfo to log - improve log message
    
    * change name of log in comment
    
    * Remove spaces
    
    * Remove extra line output
    
    * final tidy!
    
    * Use caddy.LogDestination to setup log
    
    * Ensure Log is still output if quiet.
    
    * Correct case of functions and make function param bool
    
    * Remove conditional check for LogDestination
    
    * Revert output to simple blocks
    
    * comment update
    98f160e3
server.go 19.2 KB