Details
Description
i've been using a custom "log" resource that I like because it cleans up my recipes. Here's the syntax and examples:
- Sends a string from a recipe to a log provider
#
log "some string to log" do
level :info # (default) also supports :warn, :debug, and :error
end
- === Example
log "your string to log"
- or
log "a debug string" { level :debug }
Activity
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
1h 37m | 1 | Cary Penniman | 05/Feb/10 3:28 AM | |||||
|
3d 21h 8m | 1 | Adam Jacob | 09/Feb/10 12:36 AM |