Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dotmaster committed Mar 16, 2011
1 parent ffdf94b commit ac45896
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ b) as a mixin (beginning from version 0.6.0)
- use an _error(id, stringMessage, err, type = "e.g. filedownload", tags = "")) function in your class for consistent error handling and
- emit errors with a status, type, data, message field

#### ERMIT, INMIT AND WAMIT
#### ERMIT, INMIT AND WAMIT = COMBINED EMIT LOGGING FUNCTIONS

- ermit: takes a message and an object and emits the object together with the message. It also does some checking if the object contains a message field. It also integrates the message in the object if the object has already a message field, that is a string
- inmit and wamit: take a type field and an optional data object as well a optional message field
- ermit: takes a message and an optional object and emits the object together with the message. It also does some checking for when the first parameter is not a string but an object, searching for a message field. It adds a stack trace to the emitted event
- inmit and wamit: take a type field and an optional data object as well a optional message field. It also does some checking if the object contains a message field. It also integrates the message in the object if the object has already a message field, that is a string

#### MIXINS

Expand Down

0 comments on commit ac45896

Please sign in to comment.