class Logger

def <<(msg)


My message.

Output:

logger << 'My message.' # => 10
logger = Logger.new($stdout)

or +nil+ if no log device exists:
returns the number of characters written,
Writes the given +msg+ to the log with no formatting;
def <<(msg)
  @logdev&.write(msg)
end