Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for structure (0.16 sec)

  1. internal/logger/target/console/console.go

    func (c *Target) String() string {
    	return "console"
    }
    
    // Send log message 'e' to console
    func (c *Target) Send(e interface{}) error {
    	entry, ok := e.(log.Entry)
    	if !ok {
    		return fmt.Errorf("Uexpected log entry structure %#v", e)
    	}
    	if logger.IsJSON() {
    		logJSON, err := json.Marshal(&entry)
    		if err != nil {
    			return err
    		}
    		fmt.Fprintln(c.output, string(logJSON))
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/distributed/CONFIG.md

    Following is an example YAML configuration structure.
    ```yaml
    version: v2
    address: ":9000"
    rootUser: "minioadmin"
    rootPassword: "minioadmin"
    console-address: ":9001"
    certs-dir: "/home/user/.minio/certs/"
    pools: # Specify the nodes and drives with pools
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top