You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: truncate_logs_formatter.rb
    path of file: ./repos/discourse/lib
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# This log formatter limits the number of characters in each log message to prevent malicious requests from filling up the disk
# in a short amount of 
    
  def call(*args)
    # Lograge formatters are only called with a single argument instead of the usual 4 arguments of `severity`, `datetime`, `progname` and `message`.
    message =
      if args.length == 1
        args[0]
      else
        args[3]
      end