# prefs object

(Shortest import: `from brian2 import prefs)`

brian2.core.preferences.prefs = <BrianGlobalPreferences with top-level categories: "logging", "devices", "GSL", "codegen", "core", "legacy">

  Preference categories:

  ** logging **

    Logging system preferences

  ** devices **

    Device preferences

  ** GSL **

    Directory containing GSL code

  ** codegen **

    Code generation preferences

  ** core **

    Core Brian preferences

  ** legacy **

    Preferences to enable legacy behaviour