<commit_before>[![Build Status](https://travis-ci.org/gambol99/go-marathon.svg?branch=master)](https://travis-ci.org/gambol99/go-marathon)
[![GoDoc](http://godoc.org/github.com/gambol99/go-marathon?status.png)](http://godoc.org/github.com/gambol99/go-marathon)

#### **Go-Marathon**
-----

Go-marathon is a API library for working with [Marathon](https://mesosphere.github.io/marathon/). It currently supports 

  > - Application and group deployment
  > - Helper filters for pulling the status, configuration and tasks
  > - Multiple Endpoint support for HA deployments
  > - Marathon Subscriptions and Event callbacks
 
 Note: the library still under active development; requires >= Go 1.3

#### **Code Examples**
 -------

There is also a examples directory in the source, which show hints and snippets of code of how to use it - which is probably the best place to start.

**Creating a client**

    import (
    	"flag"
    
    	marathon "github.com/gambol99/go-marathon"
    	"github.com/golang/glog"
    	"time"
    )
  
    marathon_url := http://10.241.1.71:8080
  	config := marathon.NewDefaultConfig()
  	config.URL = marathon_url
  	config.Debug = true<commit_msg>[README] - changing the readme to reflect the changes to logging<commit_after>[![Build Status](https://travis-ci.org/gambol99/go-marathon.svg?branch=master)](https://travis-ci.org/gambol99/go-marathon)
[![GoDoc](http://godoc.org/github.com/gambol99/go-marathon?status.png)](http://godoc.org/github.com/gambol99/go-marathon)

#### **Go-Marathon**
-----

Go-marathon is a API library for working with [Marathon](https://mesosphere.github.io/marathon/). It currently supports 

  > - Application and group deployment
  > - Helper filters for pulling the status, configuration and tasks
  > - Multiple Endpoint support for HA deployments
  > - Marathon Subscriptions and Event callbacks
 
 Note: the library still under active development; requires >= Go 1.3

#### **Code Examples**
 -------

There is also a examples directory in the source, which show hints and snippets of code of how to use it - which is probably the best place to start.

**Creating a client**

    import (
    	"flag"
    
    	marathon "github.com/gambol99/go-marathon"
    	"github.com/golang/glog"
    	"time"
    )
  
    marathon_url := http://10.241.1.71:8080
  	config := marathon.NewDefaultConfig()
  	config.URL = marathon_url
  	config.LogOutput = os.Stdout
{'fraction_non_alphanumeric': 0.13256006628003314, 'fraction_numerical': 0.01988400994200497, 'mean_word_length': 3.514018691588785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1480249', 'n_tokens_mistral': 819, 'n_tokens_neox': 757, 'n_words': 204}