overloading << operator
How do I create a class that will allow me to pass a string, for
example, to an instance of it using the << operator? Like this:
$logger = Logger.instance
$logger << "Here is a log message"
|All times are GMT. The time now is 09:53 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.