# ELM Console
Wrap JS console in an elm module.
* Used for testing out 0.19 native modules.
* Requires modified 0.19.0 elm compiler for native modules

# Example
```
init : ...
init ... =
    let
        timeInit = Console.time "updates" ()

update : ...
update ... = 
    let
        timeCheck =  Console.timeLog "updates" ()
```

```
addTen : Int -> Int
addTen arg =
    let
        p = Console.warn "In myfunc" <| (arg + 10)
    in
        p
```

```
toValidMonth : Int -> Result Int Int
toValidMonth month =
    if month >= 1 && month <= 12
        then Ok month
        else Console.error "invalid month" month |> Err
```
