Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
NLog
Layouts
SimpleLayout
Escape
NLog.Layouts.SimpleLayout.Escape C# (CSharp) 메소드
SimpleLayout 1 문서
파일 보기
프로젝트 열기: NLog/NLog
Escape()
공개
정적인
메소드
Escapes the passed text so that it can be used literally in all places where layout is normally expected without being treated as layout.
Escaping is done by replacing all occurrences of '${' with '${literal:text=${}'
public
static
Escape
(
string
text
) :
string
text
string
The text to be escaped.
리턴
string
public static string Escape(string text) { return text.Replace("${", "${literal:text=${}"); }
SimpleLayout
Escape
Evaluate
GetFormattedMessage
InitializeLayout
SetRenderers
SimpleLayout
ToString