Created
June 20, 2013 11:39
-
-
Save igorkulman/5822056 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let log (severity:Severity) message = | |
async { | |
let entry = LogEntity(PartitionKey = DateTime.Now.ToString("yyyy-MM-dd"), RowKey = Guid.NewGuid().ToString(), Timestamp = DateTime.Now, Message = message, Severity = severity.ToString()) | |
CreateEntityWithClient client "LogEntity" entry | |
} |> Async.Start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment