You are here

function fontyourface_log in @font-your-face 7.2

Same name and namespace in other branches
  1. 8.3 fontyourface.module \fontyourface_log()

Logs to watchdog if logging is enabled.

Parameters

string $message: Log message. This should be a literal string; see http://drupal.org/node/323101 for more details.

array $arguments: Arguments to replace placeholders, if there are any, in $message.

25 calls to fontyourface_log()
edge_fonts_fontyourface_import in modules/edge_fonts/edge_fonts.module
Implements hook_fontyourface_import().
fontsquirrel_fontyourface_import in modules/fontsquirrel/fontsquirrel.module
Implements hook_fontyourface_import().
fonts_com_add_domain in modules/fonts_com/api.inc
Adds a single domain to a project.
fonts_com_add_font_to_project in modules/fonts_com/api.inc
Adds font to project.
fonts_com_add_selector_to_project in modules/fonts_com/api.inc
Adds selector to project.

... See full list

File

./fontyourface.module, line 689

Code

function fontyourface_log($message, $arguments) {
  if (variable_get('fontyourface_detailed_logging', FALSE)) {
    watchdog('@font-your-face', $message, $arguments, WATCHDOG_INFO);
  }

  // if
}