Created
June 20, 2013 11:40
-
-
Save igorkulman/5822061 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 = | |
let entry = LogEntity(PartitionKey = DateTime.Now.ToString("yyyy-MM-dd"), RowKey = Guid.NewGuid().ToString(), Timestamp = DateTime.Now, Message = message, Severity = string severity) | |
CreateEntityWithClient client "LogEntity" entry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment