Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Specialfolder layout renderer

NLog documentation is currently being re-organized to use the wiki format. Some content is still missing or incomplete.
We need volunteers to help maintain and organize this Wiki. Please contact Jarek if you are interested in helping out.

System special folder path (includes My Documents, My Music, Program Files, Desktop, and more). 

Supported in

Configuration Syntax

${specialfolder:dir=String:file=String:folder=Enum}
Read more about using the Configuration File.

Parameters

  • Advanced Options
  • dir - Name of the directory to be Path.Combine()'d with the directory name.
  • file - Name of the file to be Path.Combine()'d with the directory name.
  • Rendering Options
  • folder - System special folder to use.
    Possible values:
    • AdminTools -
    • ApplicationData -
    • CDBurning -
    • CommonAdminTools -
    • CommonApplicationData -
    • CommonDesktopDirectory -
    • CommonDocuments -
    • CommonMusic -
    • CommonOemLinks -
    • CommonPictures -
    • CommonProgramFiles -
    • CommonProgramFilesX86 -
    • CommonPrograms -
    • CommonStartMenu -
    • CommonStartup -
    • CommonTemplates -
    • CommonVideos -
    • Cookies -
    • Desktop -
    • DesktopDirectory -
    • Favorites -
    • Fonts -
    • History -
    • InternetCache -
    • LocalApplicationData -
    • LocalizedResources -
    • MyComputer -
    • MyDocuments -
    • MyMusic -
    • MyPictures -
    • MyVideos -
    • NetworkShortcuts -
    • Personal -
    • PrinterShortcuts -
    • ProgramFiles -
    • ProgramFilesX86 -
    • Programs -
    • Recent -
    • Resources -
    • SendTo -
    • StartMenu -
    • Startup -
    • System -
    • SystemX86 -
    • Templates -
    • UserProfile -
    • Windows -
    Full list of options is available at MSDN. The most common ones are:
    • ApplicationData - roaming application data for current user.
    • CommonApplicationData - application data for all users.
    • MyDocuments - My Documents
    • DesktopDirectory - Desktop directory
    • LocalApplicationData - non roaming application data
    • Personal - user profile directory
    • System - System directory

Fatal error: Call to undefined function ad_script_footer() in /home/jkowalski/nlog-project.org/wiki/skins/NLog.php on line 297