Send a string of text to the system logger.
logger just testing :D Aug 19 09:56:04 alan-one root: just testing :D
You can also tag a log entry as well, giving it a prefix:
logger -t wiki i can haz logs Aug 19 09:56:37 alan-one wiki: i can haz logs